summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-11-22 17:34:34 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-30 10:03:36 -0800
commitd16d7667f9c211e8d9b7e2365cc3d3a83fc6a8e2 (patch)
tree50239307adee2211ece9c58d5fa32a2959b1e2e8 /drivers/ide
parent596f1034190565529e507e1eb8df6def1c9f5560 (diff)
downloadblackbird-op-linux-d16d7667f9c211e8d9b7e2365cc3d3a83fc6a8e2.tar.gz
blackbird-op-linux-d16d7667f9c211e8d9b7e2365cc3d3a83fc6a8e2.zip
icside section warnings
icside_register_v[56] is called from (__devinit) icside_probe Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/icside.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/icside.c b/drivers/ide/icside.c
index 2d848010499d..81f70caeb40f 100644
--- a/drivers/ide/icside.c
+++ b/drivers/ide/icside.c
@@ -419,7 +419,7 @@ static void icside_setup_ports(hw_regs_t *hw, void __iomem *base,
hw->chipset = ide_acorn;
}
-static int __init
+static int __devinit
icside_register_v5(struct icside_state *state, struct expansion_card *ec)
{
void __iomem *base;
@@ -473,7 +473,7 @@ static const struct ide_port_info icside_v6_port_info __initdata = {
.swdma_mask = ATA_SWDMA2,
};
-static int __init
+static int __devinit
icside_register_v6(struct icside_state *state, struct expansion_card *ec)
{
void __iomem *ioc_base, *easi_base;
OpenPOWER on IntegriCloud