]> git.karo-electronics.de Git - karo-tx-linux.git/commit
video: fbdev: maxinefb: add __initdata to maxinefb_fix
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 11 Jan 2017 16:09:50 +0000 (17:09 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 11 Jan 2017 16:09:50 +0000 (17:09 +0100)
commitd67fa87de05ff11758d505aa5b5143ae978f4d16
tree952a09756a3fbf58ed4b6a60bf1ca22d32104ebb
parenta641261e999842bee7326b2d0e84bf2214f03022
video: fbdev: maxinefb: add __initdata to maxinefb_fix

The object maxinefb_fix of type fb_fix_screeninfo is never referenced
after initialization by maxinefb_init. In the init function, the object
and one of its fields is only stored into another variable. So, the
object and its fields are never referenced anywhere after initialization
and therefore add __initdata to its declaration.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/maxinefb.c