projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55f34d6
)
usb: rockchip: fix compilation error on arm
author
Huang, Tao
<huangtao@rock-chips.com>
Wed, 20 May 2015 14:09:32 +0000
(22:09 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Wed, 20 May 2015 14:09:32 +0000
(22:09 +0800)
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
drivers/usb/host/ohci-rockchip.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ohci-rockchip.c
b/drivers/usb/host/ohci-rockchip.c
index 4ea5432844639d17f78eb6560672f8c198a31c9b..d63a1bbad2bcde2005c4e68fdee5fa21937eb74e 100755
(executable)
--- 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
{},
};