diff options
author | Frank Wang <frank.wang@rock-chips.com> | 2016-08-16 14:13:42 +0800 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2016-09-10 16:48:41 +0530 |
commit | 3fa295667a70e8f2e7e0251dbaa615b01ca82b23 (patch) | |
tree | e57d3253b74bdcd8fd39362ce1f0c662d42170d5 /kernel/seccomp.c | |
parent | a0ceee5893d7915ab533391bea2ed245c9223175 (diff) | |
download | linux-3fa295667a70e8f2e7e0251dbaa615b01ca82b23.tar.bz2 |
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: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions