diff options
Diffstat (limited to 'drivers/uio/uio_dmem_genirq.c')
-rw-r--r-- | drivers/uio/uio_dmem_genirq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uio/uio_dmem_genirq.c b/drivers/uio/uio_dmem_genirq.c index 125d0e5a6887..1270f3b26139 100644 --- a/drivers/uio/uio_dmem_genirq.c +++ b/drivers/uio/uio_dmem_genirq.c | |||
@@ -146,7 +146,7 @@ static int uio_dmem_genirq_irqcontrol(struct uio_info *dev_info, s32 irq_on) | |||
146 | 146 | ||
147 | static int uio_dmem_genirq_probe(struct platform_device *pdev) | 147 | static int uio_dmem_genirq_probe(struct platform_device *pdev) |
148 | { | 148 | { |
149 | struct uio_dmem_genirq_pdata *pdata = pdev->dev.platform_data; | 149 | struct uio_dmem_genirq_pdata *pdata = dev_get_platdata(&pdev->dev); |
150 | struct uio_info *uioinfo = &pdata->uioinfo; | 150 | struct uio_info *uioinfo = &pdata->uioinfo; |
151 | struct uio_dmem_genirq_platdata *priv; | 151 | struct uio_dmem_genirq_platdata *priv; |
152 | struct uio_mem *uiomem; | 152 | struct uio_mem *uiomem; |