From: Huang, Tao Date: Wed, 20 May 2015 14:09:32 +0000 (+0800) Subject: usb: rockchip: fix compilation error on arm X-Git-Tag: firefly_0821_release~4147 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e6f34ca54b78f4e7bb7e80df29411ca887910c35;p=firefly-linux-kernel-4.4.55.git usb: rockchip: fix compilation error on arm Signed-off-by: Huang, Tao --- diff --git a/drivers/usb/host/ohci-rockchip.c b/drivers/usb/host/ohci-rockchip.c index 4ea543284463..d63a1bbad2bc 100755 --- a/drivers/usb/host/ohci-rockchip.c +++ b/drivers/usb/host/ohci-rockchip.c @@ -89,14 +89,18 @@ static const struct hc_driver ohci_rk_hc_driver = { }; static struct of_device_id rk_ohci_of_match[] = { +#ifdef CONFIG_ARM { .compatible = "rockchip,rk3126_ohci", .data = &usb20ohci_pdata_rk3126, }, +#endif +#ifdef CONFIG_ARM64 { .compatible = "rockchip,rk3368_ohci", .data = &usb20ohci_pdata_rk3368, }, +#endif {}, };