]> Pileus Git - ~andy/linux/commit
gpio: using common order: let 'static const' instead of 'const static'
authorChen Gang <gang.chen@asianux.com>
Wed, 6 Feb 2013 10:44:32 +0000 (18:44 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 11 Feb 2013 22:21:29 +0000 (22:21 +0000)
commite9a65bb63e5fe45b9d0ecd1983749786858da14d
treec871b7729dc1780fb1ddc25e2dd92751900924c1
parent9f01d30ee191a74f1e7a2ac0710f064f472d000a
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>
drivers/gpio/gpio-omap.c