ARM OMAP: Add EHCI to device register functions
Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
fb5dcbefe7
commit
80757c2d51
|
@ -87,4 +87,10 @@ static inline struct device_d *omap3_add_i2c3(void *pdata)
|
|||
return omap_add_i2c(2, OMAP3_I2C3_BASE, pdata);
|
||||
}
|
||||
|
||||
static inline struct device_d *omap3_add_ehci(void *pdata)
|
||||
{
|
||||
return add_usb_ehci_device(DEVICE_ID_DYNAMIC, OMAP3_EHCI_BASE,
|
||||
OMAP3_EHCI_BASE + 0x10, pdata);
|
||||
}
|
||||
|
||||
#endif /* __MACH_OMAP3_DEVICES_H */
|
||||
|
|
|
@ -73,4 +73,10 @@ static inline struct device_d *omap44xx_add_i2c4(void *pdata)
|
|||
return omap_add_i2c(3, OMAP44XX_I2C4_BASE, pdata);
|
||||
}
|
||||
|
||||
static inline struct device_d *omap44xx_add_ehci(void *pdata)
|
||||
{
|
||||
return add_usb_ehci_device(DEVICE_ID_DYNAMIC, OMAP44XX_EHCI_BASE,
|
||||
OMAP44XX_EHCI_BASE + 0x10, pdata);
|
||||
}
|
||||
|
||||
#endif /* __MACH_OMAP4_DEVICES_H */
|
||||
|
|
Loading…
Reference in New Issue