usb: rockchip: fix compilation error on arm

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
Huang, Tao
2015-05-20 22:09:32 +08:00
parent 55f34d6794
commit e6f34ca54b

View File

@@ -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
{},
};