diff options
Diffstat (limited to 'drivers/mfd/omap-usb-host.c')
-rw-r--r-- | drivers/mfd/omap-usb-host.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 759fae3ca7fb..29ee54d68512 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c | |||
@@ -114,7 +114,7 @@ struct usbhs_hcd_omap { | |||
114 | }; | 114 | }; |
115 | /*-------------------------------------------------------------------------*/ | 115 | /*-------------------------------------------------------------------------*/ |
116 | 116 | ||
117 | const char usbhs_driver_name[] = USBHS_DRIVER_NAME; | 117 | static const char usbhs_driver_name[] = USBHS_DRIVER_NAME; |
118 | static u64 usbhs_dmamask = DMA_BIT_MASK(32); | 118 | static u64 usbhs_dmamask = DMA_BIT_MASK(32); |
119 | 119 | ||
120 | /*-------------------------------------------------------------------------*/ | 120 | /*-------------------------------------------------------------------------*/ |
@@ -232,7 +232,7 @@ err_end: | |||
232 | static int omap_usbhs_alloc_children(struct platform_device *pdev) | 232 | static int omap_usbhs_alloc_children(struct platform_device *pdev) |
233 | { | 233 | { |
234 | struct device *dev = &pdev->dev; | 234 | struct device *dev = &pdev->dev; |
235 | struct usbhs_omap_platform_data *pdata = dev->platform_data; | 235 | struct usbhs_omap_platform_data *pdata = dev_get_platdata(dev); |
236 | struct platform_device *ehci; | 236 | struct platform_device *ehci; |
237 | struct platform_device *ohci; | 237 | struct platform_device *ohci; |
238 | struct resource *res; | 238 | struct resource *res; |
@@ -571,7 +571,7 @@ static struct of_device_id usbhs_child_match_table[] = { | |||
571 | static int usbhs_omap_probe(struct platform_device *pdev) | 571 | static int usbhs_omap_probe(struct platform_device *pdev) |
572 | { | 572 | { |
573 | struct device *dev = &pdev->dev; | 573 | struct device *dev = &pdev->dev; |
574 | struct usbhs_omap_platform_data *pdata = dev->platform_data; | 574 | struct usbhs_omap_platform_data *pdata = dev_get_platdata(dev); |
575 | struct usbhs_hcd_omap *omap; | 575 | struct usbhs_hcd_omap *omap; |
576 | struct resource *res; | 576 | struct resource *res; |
577 | int ret = 0; | 577 | int ret = 0; |