diff options
| author | Simon Glass <[email protected]> | 2023-09-14 18:21:46 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-09-24 09:54:57 -0400 |
| commit | 1e94b46f73cedcebbff73799203f3266c5b28d90 (patch) | |
| tree | 90c7fccabd09c2c6eb1e4efa2f8b229b11d4461b /drivers/phy | |
| parent | b05a184379631d13c4a49e423aa1324dc1ae6158 (diff) | |
common: Drop linux/printk.h from common header
This old patch was marked as deferred. Bring it back to life, to continue
towards the removal of common.h
Move this out of the common header and include it only where needed.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/phy')
| -rw-r--r-- | drivers/phy/keystone-usb-phy.c | 1 | ||||
| -rw-r--r-- | drivers/phy/marvell/comphy_cp110.c | 1 | ||||
| -rw-r--r-- | drivers/phy/meson-g12a-usb2.c | 1 | ||||
| -rw-r--r-- | drivers/phy/meson-g12a-usb3-pcie.c | 1 | ||||
| -rw-r--r-- | drivers/phy/meson-gxbb-usb2.c | 1 | ||||
| -rw-r--r-- | drivers/phy/meson-gxl-usb2.c | 3 | ||||
| -rw-r--r-- | drivers/phy/phy-rcar-gen3.c | 1 | ||||
| -rw-r--r-- | drivers/phy/phy-stm32-usbphyc.c | 1 | ||||
| -rw-r--r-- | drivers/phy/phy-uclass.c | 1 | ||||
| -rw-r--r-- | drivers/phy/sti_usb_phy.c | 1 | ||||
| -rw-r--r-- | drivers/phy/ti-pipe3-phy.c | 1 |
11 files changed, 12 insertions, 1 deletions
diff --git a/drivers/phy/keystone-usb-phy.c b/drivers/phy/keystone-usb-phy.c index 12f8a265f77..6799e232370 100644 --- a/drivers/phy/keystone-usb-phy.c +++ b/drivers/phy/keystone-usb-phy.c @@ -13,6 +13,7 @@ #include <asm/arch/psc_defs.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> /* USB PHY control register offsets */ #define USB_PHY_CTL_UTMI 0x0000 diff --git a/drivers/phy/marvell/comphy_cp110.c b/drivers/phy/marvell/comphy_cp110.c index a7e0099045f..bb15fbaf347 100644 --- a/drivers/phy/marvell/comphy_cp110.c +++ b/drivers/phy/marvell/comphy_cp110.c @@ -12,6 +12,7 @@ #include <asm/arch/cpu.h> #include <asm/arch/soc.h> #include <linux/delay.h> +#include <linux/printk.h> #include "comphy_core.h" #include "sata.h" diff --git a/drivers/phy/meson-g12a-usb2.c b/drivers/phy/meson-g12a-usb2.c index 650b88bd180..8b243225156 100644 --- a/drivers/phy/meson-g12a-usb2.c +++ b/drivers/phy/meson-g12a-usb2.c @@ -17,6 +17,7 @@ #include <generic-phy.h> #include <regmap.h> #include <linux/delay.h> +#include <linux/printk.h> #include <power/regulator.h> #include <reset.h> #include <clk.h> diff --git a/drivers/phy/meson-g12a-usb3-pcie.c b/drivers/phy/meson-g12a-usb3-pcie.c index 8f72b5a6a74..40a5da948dc 100644 --- a/drivers/phy/meson-g12a-usb3-pcie.c +++ b/drivers/phy/meson-g12a-usb3-pcie.c @@ -18,6 +18,7 @@ #include <bitfield.h> #include <generic-phy.h> #include <linux/delay.h> +#include <linux/printk.h> #include <linux/bitops.h> #include <linux/compat.h> diff --git a/drivers/phy/meson-gxbb-usb2.c b/drivers/phy/meson-gxbb-usb2.c index 70a80b86381..725b056a71a 100644 --- a/drivers/phy/meson-gxbb-usb2.c +++ b/drivers/phy/meson-gxbb-usb2.c @@ -15,6 +15,7 @@ #include <regmap.h> #include <reset.h> #include <linux/bitops.h> +#include <linux/printk.h> #define REG_CONFIG 0x00 #define REG_CONFIG_CLK_EN BIT(0) diff --git a/drivers/phy/meson-gxl-usb2.c b/drivers/phy/meson-gxl-usb2.c index 4c631310efa..8f5e4a43661 100644 --- a/drivers/phy/meson-gxl-usb2.c +++ b/drivers/phy/meson-gxl-usb2.c @@ -11,12 +11,13 @@ #include <malloc.h> #include <asm/io.h> #include <bitfield.h> +#include <clk.h> #include <dm.h> #include <errno.h> #include <generic-phy.h> #include <regmap.h> #include <linux/delay.h> -#include <clk.h> +#include <linux/printk.h> #include <linux/usb/otg.h> #include <asm/arch/usb-gx.h> diff --git a/drivers/phy/phy-rcar-gen3.c b/drivers/phy/phy-rcar-gen3.c index 8c59631428b..7159e7e8716 100644 --- a/drivers/phy/phy-rcar-gen3.c +++ b/drivers/phy/phy-rcar-gen3.c @@ -17,6 +17,7 @@ #include <usb.h> #include <asm/io.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <power/regulator.h> /* USB2.0 Host registers (original offset is +0x200) */ diff --git a/drivers/phy/phy-stm32-usbphyc.c b/drivers/phy/phy-stm32-usbphyc.c index 15bd60ca8c5..000e495dbd4 100644 --- a/drivers/phy/phy-stm32-usbphyc.c +++ b/drivers/phy/phy-stm32-usbphyc.c @@ -23,6 +23,7 @@ #include <linux/bitfield.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> #include <power/regulator.h> /* USBPHYC registers */ diff --git a/drivers/phy/phy-uclass.c b/drivers/phy/phy-uclass.c index 190108e04c7..22f2fe91487 100644 --- a/drivers/phy/phy-uclass.c +++ b/drivers/phy/phy-uclass.c @@ -12,6 +12,7 @@ #include <dm/devres.h> #include <generic-phy.h> #include <linux/list.h> +#include <linux/printk.h> #include <power/regulator.h> /** diff --git a/drivers/phy/sti_usb_phy.c b/drivers/phy/sti_usb_phy.c index ce4caafce7e..9e5ac9bfde6 100644 --- a/drivers/phy/sti_usb_phy.c +++ b/drivers/phy/sti_usb_phy.c @@ -18,6 +18,7 @@ #include <reset-uclass.h> #include <syscon.h> #include <wait_bit.h> +#include <linux/printk.h> #include <linux/bitops.h> #include <linux/compat.h> diff --git a/drivers/phy/ti-pipe3-phy.c b/drivers/phy/ti-pipe3-phy.c index b5b3c3f1522..313735844ab 100644 --- a/drivers/phy/ti-pipe3-phy.c +++ b/drivers/phy/ti-pipe3-phy.c @@ -16,6 +16,7 @@ #include <linux/bitops.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/printk.h> /* PLLCTRL Registers */ #define PLL_STATUS 0x00000004 |
