summaryrefslogtreecommitdiff
path: root/drivers/ide/ali14xx.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2012-10-05 04:11:48 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 22:04:41 +0400
commite6b53703b9966a3636be2bd4b7b8e0bfeb1b3f8d (patch)
tree6f08f1ed000481394fc8942a695b097141aa9b86 /drivers/ide/ali14xx.c
parent1849f23d6ff57cf9d57741488adb14e0d7942406 (diff)
downloadlinux-e6b53703b9966a3636be2bd4b7b8e0bfeb1b3f8d.tar.xz
sections: fix section conflicts in drivers/ide
Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: David Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ide/ali14xx.c')
-rw-r--r--drivers/ide/ali14xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ali14xx.c b/drivers/ide/ali14xx.c
index d3be99fb4154..8f3570ee64c3 100644
--- a/drivers/ide/ali14xx.c
+++ b/drivers/ide/ali14xx.c
@@ -52,13 +52,13 @@
/* port addresses for auto-detection */
#define ALI_NUM_PORTS 4
-static const int ports[ALI_NUM_PORTS] __initdata =
+static const int ports[ALI_NUM_PORTS] __initconst =
{ 0x074, 0x0f4, 0x034, 0x0e4 };
/* register initialization data */
typedef struct { u8 reg, data; } RegInitializer;
-static const RegInitializer initData[] __initdata = {
+static const RegInitializer initData[] __initconst = {
{0x01, 0x0f}, {0x02, 0x00}, {0x03, 0x00}, {0x04, 0x00},
{0x05, 0x00}, {0x06, 0x00}, {0x07, 0x2b}, {0x0a, 0x0f},
{0x25, 0x00}, {0x26, 0x00}, {0x27, 0x00}, {0x28, 0x00},