diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-28 02:14:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 08:58:35 -0700 |
commit | 22af89aa0c0b4012a7431114a340efd3665a7617 (patch) | |
tree | 3da3b5645c8d58563744ad06166942080418625f /lib | |
parent | 2ae09f0da1cd0c8c646edea2e68356e76789461c (diff) | |
download | blackbird-op-linux-22af89aa0c0b4012a7431114a340efd3665a7617.tar.gz blackbird-op-linux-22af89aa0c0b4012a7431114a340efd3665a7617.zip |
fbcon: replace mono_col macro with static inline
Use __u32 for max_len to match the declaration of length in the struct
fb_bitfield.
Suppresses sparse shadowed variable warnings from the nested max()
macros:
drivers/video/console/fbcon.h:130:8: warning: symbol '_x' shadows an earlier one
drivers/video/console/fbcon.h:130:8: originally declared here
drivers/video/console/fbcon.h:130:8: warning: symbol '_x' shadows an earlier one
drivers/video/console/fbcon.h:130:8: originally declared here
drivers/video/console/fbcon.h:130:8: warning: symbol '_y' shadows an earlier one
drivers/video/console/fbcon.h:130:8: originally declared here
[akpm@linux-foundation.org: fix constness]
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions