diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2014-08-21 08:23:57 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-08-26 12:48:34 +0300 |
commit | 754d561ab694ff240ad1615abd0d99f3c1db79a2 (patch) | |
tree | 0967e6d56b3824711baef27d3ba3b358d88c161e /drivers/video/vgastate.c | |
parent | 52addcf9d6669fa439387610bc65c92fa0980cef (diff) | |
download | linux-754d561ab694ff240ad1615abd0d99f3c1db79a2.tar.gz linux-754d561ab694ff240ad1615abd0d99f3c1db79a2.tar.bz2 linux-754d561ab694ff240ad1615abd0d99f3c1db79a2.zip |
fbdev: Remove __init from chips_hw_init() to fix build failure
Fix build failure caused as follows:
The function chipsfb_pci_init() references
the function __init chips_hw_init().
This is often because chipsfb_pci_init lacks a __init
annotation or the annotation of chips_hw_init is wrong.
make: *** [drivers] Error 2
by removing the __init annotation from chips_hw_init(). The other thing that
could have been done was annotating chipsfb_pci_init(). But that cannot be done
since chipsfb_pci_init() is called from non __init functions.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/vgastate.c')
0 files changed, 0 insertions, 0 deletions