Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1463432 > unrolled thread
| Started by | Frank Wang <frank.wang@rock-chips.com> |
|---|---|
| First post | 2016-08-16 08:20 +0200 |
| Last post | 2016-08-16 08:20 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
[RESEND PATCH 0/1] add COMMON_CLK dependency for rockchip-inno-usb2 Frank Wang <frank.wang@rock-chips.com> - 2016-08-16 08:20 +0200
[RESEND PATCH 1/1] phy: rockchip-inno-usb2: add COMMON_CLK dependency Frank Wang <frank.wang@rock-chips.com> - 2016-08-16 08:20 +0200
| From | Frank Wang <frank.wang@rock-chips.com> |
|---|---|
| Date | 2016-08-16 08:20 +0200 |
| Subject | [RESEND PATCH 0/1] add COMMON_CLK dependency for rockchip-inno-usb2 |
| Message-ID | <s6FTb-7TO-1@gated-at.bofh.it> |
On kernel builds without COMMON_CLK, the newly added rockchip-inno-usb2 driver fails to build, and this adds the required Kconfig dependency to fix it. Frank Wang (1): phy: rockchip-inno-usb2: add COMMON_CLK dependency drivers/phy/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 1.7.9.5
[toc] | [next] | [standalone]
| From | Frank Wang <frank.wang@rock-chips.com> |
|---|---|
| Date | 2016-08-16 08:20 +0200 |
| Subject | [RESEND PATCH 1/1] phy: rockchip-inno-usb2: add COMMON_CLK dependency |
| Message-ID | <s6FTc-7TO-13@gated-at.bofh.it> |
| In reply to | #1463432 |
On kernel builds without COMMON_CLK, the newly added rockchip-inno-usb2
driver fails to build:
drivers/phy/phy-rockchip-inno-usb2.c:124:16: error: field 'clk480m_hw'
has incomplete type
struct clk_hw clk480m_hw;
In file included from include/linux/clk.h:16:0
from drivers/phy/phy-rockchip-inno-usb2.c:17:
include/linux/kernel.h:831:48: error: initialization from incompatible
pointer type [-Werror=incompatible-pointer-types]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
... ...
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
---
drivers/phy/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index f9bf981..c6d57e5 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -370,6 +370,7 @@ config PHY_ROCKCHIP_USB
config PHY_ROCKCHIP_INNO_USB2
tristate "Rockchip INNO USB2PHY Driver"
depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
+ depends on COMMON_CLK
select GENERIC_PHY
help
Support for Rockchip USB2.0 PHY with Innosilicon IP block.
--
1.7.9.5
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web