diff options
Diffstat (limited to 'drivers/gpio/gpio-msic.c')
-rw-r--r-- | drivers/gpio/gpio-msic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-msic.c b/drivers/gpio/gpio-msic.c index 27ea7b9257ff..d75eaa3a1dcc 100644 --- a/drivers/gpio/gpio-msic.c +++ b/drivers/gpio/gpio-msic.c | |||
@@ -259,7 +259,7 @@ static void msic_gpio_irq_handler(unsigned irq, struct irq_desc *desc) | |||
259 | static int platform_msic_gpio_probe(struct platform_device *pdev) | 259 | static int platform_msic_gpio_probe(struct platform_device *pdev) |
260 | { | 260 | { |
261 | struct device *dev = &pdev->dev; | 261 | struct device *dev = &pdev->dev; |
262 | struct intel_msic_gpio_pdata *pdata = dev->platform_data; | 262 | struct intel_msic_gpio_pdata *pdata = dev_get_platdata(dev); |
263 | struct msic_gpio *mg; | 263 | struct msic_gpio *mg; |
264 | int irq = platform_get_irq(pdev, 0); | 264 | int irq = platform_get_irq(pdev, 0); |
265 | int retval; | 265 | int retval; |