aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/uio/uio_pruss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uio/uio_pruss.c b/drivers/uio/uio_pruss.c
index df7534613e5e..f519da9034b7 100644
--- a/drivers/uio/uio_pruss.c
+++ b/drivers/uio/uio_pruss.c
@@ -121,7 +121,7 @@ static int pruss_probe(struct platform_device *dev)
121 struct uio_pruss_dev *gdev; 121 struct uio_pruss_dev *gdev;
122 struct resource *regs_prussio; 122 struct resource *regs_prussio;
123 int ret = -ENODEV, cnt = 0, len; 123 int ret = -ENODEV, cnt = 0, len;
124 struct uio_pruss_pdata *pdata = dev->dev.platform_data; 124 struct uio_pruss_pdata *pdata = dev_get_platdata(&dev->dev);
125 125
126 gdev = kzalloc(sizeof(struct uio_pruss_dev), GFP_KERNEL); 126 gdev = kzalloc(sizeof(struct uio_pruss_dev), GFP_KERNEL);
127 if (!gdev) 127 if (!gdev)