]> git.baikalelectronics.ru Git - kernel.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)
commitf43806cae0ba5159e5799c3c8e65b77cfd5a6955
tree952a09756a3fbf58ed4b6a60bf1ca22d32104ebb
parent6182cb59e0c090f064484291e2b36495908b6acc
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