fb: epson1355fb: Fix section mismatch
authorAlexander Shiyan <shc_work@mail.ru>
Sun, 15 Jul 2012 07:32:38 +0000 (11:32 +0400)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Tue, 24 Jul 2012 20:54:35 +0000 (20:54 +0000)
commit559dc9d9fed3578cdb82772e4638069fe8176f2f
treed3e40cb6798f4af10b335bba382485302f874174
parent123267aae33efd341babe42525b8db51ef32c1b8
fb: epson1355fb: Fix section mismatch

This patch fixes "section mismatch" warning in the epson1355fb driver.

WARNING: vmlinux.o(.devinit.text+0x184): Section mismatch in reference from the function epson1355fb_probe() to the function .init.text:fetch_hw_state()
The function __devinit epson1355fb_probe() references
a function __init fetch_hw_state().
If fetch_hw_state is only used by epson1355fb_probe then
annotate fetch_hw_state with a matching annotation.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Christopher Hoover <ch@murgatroid.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/epson1355fb.c