diff options
Diffstat (limited to 'drivers/gpio/gpio-omap.c')
-rw-r--r-- | drivers/gpio/gpio-omap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index e6efd77668f0..0725d181581f 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c | |||
@@ -1058,7 +1058,7 @@ static int __devinit omap_gpio_probe(struct platform_device *pdev) | |||
1058 | struct device *dev = &pdev->dev; | 1058 | struct device *dev = &pdev->dev; |
1059 | struct device_node *node = dev->of_node; | 1059 | struct device_node *node = dev->of_node; |
1060 | const struct of_device_id *match; | 1060 | const struct of_device_id *match; |
1061 | struct omap_gpio_platform_data *pdata; | 1061 | const struct omap_gpio_platform_data *pdata; |
1062 | struct resource *res; | 1062 | struct resource *res; |
1063 | struct gpio_bank *bank; | 1063 | struct gpio_bank *bank; |
1064 | int ret = 0; | 1064 | int ret = 0; |
@@ -1440,19 +1440,19 @@ static struct omap_gpio_reg_offs omap4_gpio_regs = { | |||
1440 | .fallingdetect = OMAP4_GPIO_FALLINGDETECT, | 1440 | .fallingdetect = OMAP4_GPIO_FALLINGDETECT, |
1441 | }; | 1441 | }; |
1442 | 1442 | ||
1443 | static struct omap_gpio_platform_data omap2_pdata = { | 1443 | const static struct omap_gpio_platform_data omap2_pdata = { |
1444 | .regs = &omap2_gpio_regs, | 1444 | .regs = &omap2_gpio_regs, |
1445 | .bank_width = 32, | 1445 | .bank_width = 32, |
1446 | .dbck_flag = false, | 1446 | .dbck_flag = false, |
1447 | }; | 1447 | }; |
1448 | 1448 | ||
1449 | static struct omap_gpio_platform_data omap3_pdata = { | 1449 | const static struct omap_gpio_platform_data omap3_pdata = { |
1450 | .regs = &omap2_gpio_regs, | 1450 | .regs = &omap2_gpio_regs, |
1451 | .bank_width = 32, | 1451 | .bank_width = 32, |
1452 | .dbck_flag = true, | 1452 | .dbck_flag = true, |
1453 | }; | 1453 | }; |
1454 | 1454 | ||
1455 | static struct omap_gpio_platform_data omap4_pdata = { | 1455 | const static struct omap_gpio_platform_data omap4_pdata = { |
1456 | .regs = &omap4_gpio_regs, | 1456 | .regs = &omap4_gpio_regs, |
1457 | .bank_width = 32, | 1457 | .bank_width = 32, |
1458 | .dbck_flag = true, | 1458 | .dbck_flag = true, |