aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-omap.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-02-06 05:44:32 -0500
committerGrant Likely <grant.likely@secretlab.ca>2013-02-11 17:21:29 -0500
commite9a65bb63e5fe45b9d0ecd1983749786858da14d (patch)
treec871b7729dc1780fb1ddc25e2dd92751900924c1 /drivers/gpio/gpio-omap.c
parent9f01d30ee191a74f1e7a2ac0710f064f472d000a (diff)
gpio: using common order: let 'static const' instead of 'const static'
'const static ' is not a common order, better to use 'static const' instead. building: make EXTRA_CFLAGS=-W ARCH=arm drivers/gpio/gpio-omap.c:1479: warning: 'static' is not at beginning of declaration drivers/gpio/gpio-omap.c:1485: warning: 'static' is not at beginning of declaration drivers/gpio/gpio-omap.c:1491: warning: 'static' is not at beginning of declaration Signed-off-by: Chen Gang <gang.chen@asianux.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/gpio-omap.c')
-rw-r--r--drivers/gpio/gpio-omap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index f1fbedb2a6f9..159f5c57eb45 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers/gpio/gpio-omap.c
@@ -1476,19 +1476,19 @@ static struct omap_gpio_reg_offs omap4_gpio_regs = {
1476 .fallingdetect = OMAP4_GPIO_FALLINGDETECT, 1476 .fallingdetect = OMAP4_GPIO_FALLINGDETECT,
1477}; 1477};
1478 1478
1479const static struct omap_gpio_platform_data omap2_pdata = { 1479static const struct omap_gpio_platform_data omap2_pdata = {
1480 .regs = &omap2_gpio_regs, 1480 .regs = &omap2_gpio_regs,
1481 .bank_width = 32, 1481 .bank_width = 32,
1482 .dbck_flag = false, 1482 .dbck_flag = false,
1483}; 1483};
1484 1484
1485const static struct omap_gpio_platform_data omap3_pdata = { 1485static const struct omap_gpio_platform_data omap3_pdata = {
1486 .regs = &omap2_gpio_regs, 1486 .regs = &omap2_gpio_regs,
1487 .bank_width = 32, 1487 .bank_width = 32,
1488 .dbck_flag = true, 1488 .dbck_flag = true,
1489}; 1489};
1490 1490
1491const static struct omap_gpio_platform_data omap4_pdata = { 1491static const struct omap_gpio_platform_data omap4_pdata = {
1492 .regs = &omap4_gpio_regs, 1492 .regs = &omap4_gpio_regs,
1493 .bank_width = 32, 1493 .bank_width = 32,
1494 .dbck_flag = true, 1494 .dbck_flag = true,