checkpatch: fix false positive on __initconst
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 5 Mar 2010 21:43:51 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:44 +0000 (11:26 -0800)
commit52131292c069b74f4b5f3c786ff66ff6e82b0e69
treeb84324464503adc35bda0573c1c35f7497d9ecce
parent691e669ba8c64d31ac08d87b1751e6acfa3ff65e
checkpatch: fix false positive on __initconst

checkpatch falsely complained about '__initconst' because it thought the
'const' needed a space before.  Fix this by changing the list of
attributes:

- add '__initconst'
- force plain 'init' to contain a word-boundary at the end

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl