phy: rockchip-inno-usb2: add COMMON_CLK dependency
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: NFrank Wang <frank.wang@rock-chips.com> Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com> Reviewed-by: NGuenter Roeck <linux@roeck-us.net> Reviewed-by: NHeiko Stuebner <heiko@sntech.de>
Showing
想要评论请 注册 或 登录