diff options
-rw-r--r-- | drivers/net/can/slcan.c | 2 | ||||
-rw-r--r-- | drivers/net/can/vcan.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/8390/ne3210.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/adaptec/starfire.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/atheros/atlx/atl2.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/dec/tulip/eeprom.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/dec/tulip/winbond-840.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/dlink/sundance.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/fealnx.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/realtek/8139too.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/sis/sis190.c | 2 | ||||
-rw-r--r-- | drivers/net/hamradio/6pack.c | 4 |
14 files changed, 15 insertions, 15 deletions
diff --git a/drivers/net/can/slcan.c b/drivers/net/can/slcan.c index 034c16b60e96..adc3708d8829 100644 --- a/drivers/net/can/slcan.c +++ b/drivers/net/can/slcan.c | |||
@@ -56,7 +56,7 @@ | |||
56 | #include <linux/kernel.h> | 56 | #include <linux/kernel.h> |
57 | #include <linux/can.h> | 57 | #include <linux/can.h> |
58 | 58 | ||
59 | static __initdata const char banner[] = | 59 | static __initconst const char banner[] = |
60 | KERN_INFO "slcan: serial line CAN interface driver\n"; | 60 | KERN_INFO "slcan: serial line CAN interface driver\n"; |
61 | 61 | ||
62 | MODULE_ALIAS_LDISC(N_SLCAN); | 62 | MODULE_ALIAS_LDISC(N_SLCAN); |
diff --git a/drivers/net/can/vcan.c b/drivers/net/can/vcan.c index 4f93c0be0053..0a2a5ee79a17 100644 --- a/drivers/net/can/vcan.c +++ b/drivers/net/can/vcan.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #include <linux/slab.h> | 49 | #include <linux/slab.h> |
50 | #include <net/rtnetlink.h> | 50 | #include <net/rtnetlink.h> |
51 | 51 | ||
52 | static __initdata const char banner[] = | 52 | static __initconst const char banner[] = |
53 | KERN_INFO "vcan: Virtual CAN interface driver\n"; | 53 | KERN_INFO "vcan: Virtual CAN interface driver\n"; |
54 | 54 | ||
55 | MODULE_DESCRIPTION("virtual CAN interface"); | 55 | MODULE_DESCRIPTION("virtual CAN interface"); |
diff --git a/drivers/net/ethernet/8390/ne3210.c b/drivers/net/ethernet/8390/ne3210.c index a2f8b2b8e27c..e3f57427d5c5 100644 --- a/drivers/net/ethernet/8390/ne3210.c +++ b/drivers/net/ethernet/8390/ne3210.c | |||
@@ -81,7 +81,7 @@ static void ne3210_block_output(struct net_device *dev, int count, const unsigne | |||
81 | 81 | ||
82 | static unsigned char irq_map[] __initdata = {15, 12, 11, 10, 9, 7, 5, 3}; | 82 | static unsigned char irq_map[] __initdata = {15, 12, 11, 10, 9, 7, 5, 3}; |
83 | static unsigned int shmem_map[] __initdata = {0xff0, 0xfe0, 0xfff0, 0xd8, 0xffe0, 0xffc0, 0xd0, 0x0}; | 83 | static unsigned int shmem_map[] __initdata = {0xff0, 0xfe0, 0xfff0, 0xd8, 0xffe0, 0xffc0, 0xd0, 0x0}; |
84 | static const char *ifmap[] __initdata = {"UTP", "?", "BNC", "AUI"}; | 84 | static const char * const ifmap[] __initconst = {"UTP", "?", "BNC", "AUI"}; |
85 | static int ifmap_val[] __initdata = { | 85 | static int ifmap_val[] __initdata = { |
86 | IF_PORT_10BASET, | 86 | IF_PORT_10BASET, |
87 | IF_PORT_UNKNOWN, | 87 | IF_PORT_UNKNOWN, |
diff --git a/drivers/net/ethernet/adaptec/starfire.c b/drivers/net/ethernet/adaptec/starfire.c index d920a529ba22..5b65992c2a0a 100644 --- a/drivers/net/ethernet/adaptec/starfire.c +++ b/drivers/net/ethernet/adaptec/starfire.c | |||
@@ -295,7 +295,7 @@ MODULE_DEVICE_TABLE(pci, starfire_pci_tbl); | |||
295 | static const struct chip_info { | 295 | static const struct chip_info { |
296 | const char *name; | 296 | const char *name; |
297 | int drv_flags; | 297 | int drv_flags; |
298 | } netdrv_tbl[] __devinitdata = { | 298 | } netdrv_tbl[] __devinitconst = { |
299 | { "Adaptec Starfire 6915", CanHaveMII }, | 299 | { "Adaptec Starfire 6915", CanHaveMII }, |
300 | }; | 300 | }; |
301 | 301 | ||
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index 55a2e3795055..d19f82f7597a 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c | |||
@@ -702,7 +702,7 @@ struct atl1c_platform_patch { | |||
702 | u32 patch_flag; | 702 | u32 patch_flag; |
703 | #define ATL1C_LINK_PATCH 0x1 | 703 | #define ATL1C_LINK_PATCH 0x1 |
704 | }; | 704 | }; |
705 | static const struct atl1c_platform_patch plats[] __devinitdata = { | 705 | static const struct atl1c_platform_patch plats[] __devinitconst = { |
706 | {0x2060, 0xC1, 0x1019, 0x8152, 0x1}, | 706 | {0x2060, 0xC1, 0x1019, 0x8152, 0x1}, |
707 | {0x2060, 0xC1, 0x1019, 0x2060, 0x1}, | 707 | {0x2060, 0xC1, 0x1019, 0x2060, 0x1}, |
708 | {0x2060, 0xC1, 0x1019, 0xE000, 0x1}, | 708 | {0x2060, 0xC1, 0x1019, 0xE000, 0x1}, |
diff --git a/drivers/net/ethernet/atheros/atlx/atl2.c b/drivers/net/ethernet/atheros/atlx/atl2.c index 57d64b80fd72..623dd8635c46 100644 --- a/drivers/net/ethernet/atheros/atlx/atl2.c +++ b/drivers/net/ethernet/atheros/atlx/atl2.c | |||
@@ -2845,7 +2845,7 @@ static void atl2_force_ps(struct atl2_hw *hw) | |||
2845 | */ | 2845 | */ |
2846 | 2846 | ||
2847 | #define ATL2_PARAM(X, desc) \ | 2847 | #define ATL2_PARAM(X, desc) \ |
2848 | static const int __devinitdata X[ATL2_MAX_NIC + 1] = ATL2_PARAM_INIT; \ | 2848 | static const int __devinitconst X[ATL2_MAX_NIC + 1] = ATL2_PARAM_INIT; \ |
2849 | MODULE_PARM(X, "1-" __MODULE_STRING(ATL2_MAX_NIC) "i"); \ | 2849 | MODULE_PARM(X, "1-" __MODULE_STRING(ATL2_MAX_NIC) "i"); \ |
2850 | MODULE_PARM_DESC(X, desc); | 2850 | MODULE_PARM_DESC(X, desc); |
2851 | #else | 2851 | #else |
diff --git a/drivers/net/ethernet/dec/tulip/eeprom.c b/drivers/net/ethernet/dec/tulip/eeprom.c index ed7d1dcd9566..44f7e8e82d85 100644 --- a/drivers/net/ethernet/dec/tulip/eeprom.c +++ b/drivers/net/ethernet/dec/tulip/eeprom.c | |||
@@ -79,7 +79,7 @@ static struct eeprom_fixup eeprom_fixups[] __devinitdata = { | |||
79 | {NULL}}; | 79 | {NULL}}; |
80 | 80 | ||
81 | 81 | ||
82 | static const char *block_name[] __devinitdata = { | 82 | static const char *const block_name[] __devinitconst = { |
83 | "21140 non-MII", | 83 | "21140 non-MII", |
84 | "21140 MII PHY", | 84 | "21140 MII PHY", |
85 | "21142 Serial PHY", | 85 | "21142 Serial PHY", |
diff --git a/drivers/net/ethernet/dec/tulip/winbond-840.c b/drivers/net/ethernet/dec/tulip/winbond-840.c index 4d1ffca83c82..7c1ec4d7920b 100644 --- a/drivers/net/ethernet/dec/tulip/winbond-840.c +++ b/drivers/net/ethernet/dec/tulip/winbond-840.c | |||
@@ -236,7 +236,7 @@ struct pci_id_info { | |||
236 | int drv_flags; /* Driver use, intended as capability flags. */ | 236 | int drv_flags; /* Driver use, intended as capability flags. */ |
237 | }; | 237 | }; |
238 | 238 | ||
239 | static const struct pci_id_info pci_id_tbl[] __devinitdata = { | 239 | static const struct pci_id_info pci_id_tbl[] __devinitconst = { |
240 | { /* Sometime a Level-One switch card. */ | 240 | { /* Sometime a Level-One switch card. */ |
241 | "Winbond W89c840", CanHaveMII | HasBrokenTx | FDXOnNoMII}, | 241 | "Winbond W89c840", CanHaveMII | HasBrokenTx | FDXOnNoMII}, |
242 | { "Winbond W89c840", CanHaveMII | HasBrokenTx}, | 242 | { "Winbond W89c840", CanHaveMII | HasBrokenTx}, |
diff --git a/drivers/net/ethernet/dlink/sundance.c b/drivers/net/ethernet/dlink/sundance.c index d7bb52a7bda1..3b83588e51f6 100644 --- a/drivers/net/ethernet/dlink/sundance.c +++ b/drivers/net/ethernet/dlink/sundance.c | |||
@@ -218,7 +218,7 @@ enum { | |||
218 | struct pci_id_info { | 218 | struct pci_id_info { |
219 | const char *name; | 219 | const char *name; |
220 | }; | 220 | }; |
221 | static const struct pci_id_info pci_id_tbl[] __devinitdata = { | 221 | static const struct pci_id_info pci_id_tbl[] __devinitconst = { |
222 | {"D-Link DFE-550TX FAST Ethernet Adapter"}, | 222 | {"D-Link DFE-550TX FAST Ethernet Adapter"}, |
223 | {"D-Link DFE-550FX 100Mbps Fiber-optics Adapter"}, | 223 | {"D-Link DFE-550FX 100Mbps Fiber-optics Adapter"}, |
224 | {"D-Link DFE-580TX 4 port Server Adapter"}, | 224 | {"D-Link DFE-580TX 4 port Server Adapter"}, |
diff --git a/drivers/net/ethernet/fealnx.c b/drivers/net/ethernet/fealnx.c index 9d71c9cc300b..0e4a0ac86aa8 100644 --- a/drivers/net/ethernet/fealnx.c +++ b/drivers/net/ethernet/fealnx.c | |||
@@ -150,7 +150,7 @@ struct chip_info { | |||
150 | int flags; | 150 | int flags; |
151 | }; | 151 | }; |
152 | 152 | ||
153 | static const struct chip_info skel_netdrv_tbl[] __devinitdata = { | 153 | static const struct chip_info skel_netdrv_tbl[] __devinitconst = { |
154 | { "100/10M Ethernet PCI Adapter", HAS_MII_XCVR }, | 154 | { "100/10M Ethernet PCI Adapter", HAS_MII_XCVR }, |
155 | { "100/10M Ethernet PCI Adapter", HAS_CHIP_XCVR }, | 155 | { "100/10M Ethernet PCI Adapter", HAS_CHIP_XCVR }, |
156 | { "1000/100/10M Ethernet PCI Adapter", HAS_MII_XCVR }, | 156 | { "1000/100/10M Ethernet PCI Adapter", HAS_MII_XCVR }, |
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c index b528e52a8ee1..2a0c9dc48eb3 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c | |||
@@ -38,7 +38,7 @@ static inline void writeq(u64 val, void __iomem *addr) | |||
38 | } | 38 | } |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | static const struct crb_128M_2M_block_map | 41 | static struct crb_128M_2M_block_map |
42 | crb_128M_2M_map[64] __cacheline_aligned_in_smp = { | 42 | crb_128M_2M_map[64] __cacheline_aligned_in_smp = { |
43 | {{{0, 0, 0, 0} } }, /* 0: PCI */ | 43 | {{{0, 0, 0, 0} } }, /* 0: PCI */ |
44 | {{{1, 0x0100000, 0x0102000, 0x120000}, /* 1: PCIE */ | 44 | {{{1, 0x0100000, 0x0102000, 0x120000}, /* 1: PCIE */ |
diff --git a/drivers/net/ethernet/realtek/8139too.c b/drivers/net/ethernet/realtek/8139too.c index 1d83565cc6af..3ed7add23c12 100644 --- a/drivers/net/ethernet/realtek/8139too.c +++ b/drivers/net/ethernet/realtek/8139too.c | |||
@@ -228,7 +228,7 @@ typedef enum { | |||
228 | static const struct { | 228 | static const struct { |
229 | const char *name; | 229 | const char *name; |
230 | u32 hw_flags; | 230 | u32 hw_flags; |
231 | } board_info[] __devinitdata = { | 231 | } board_info[] __devinitconst = { |
232 | { "RealTek RTL8139", RTL8139_CAPS }, | 232 | { "RealTek RTL8139", RTL8139_CAPS }, |
233 | { "RealTek RTL8129", RTL8129_CAPS }, | 233 | { "RealTek RTL8129", RTL8129_CAPS }, |
234 | }; | 234 | }; |
diff --git a/drivers/net/ethernet/sis/sis190.c b/drivers/net/ethernet/sis/sis190.c index 4613591b43e7..d8166012b7d4 100644 --- a/drivers/net/ethernet/sis/sis190.c +++ b/drivers/net/ethernet/sis/sis190.c | |||
@@ -1618,7 +1618,7 @@ static int __devinit sis190_get_mac_addr_from_eeprom(struct pci_dev *pdev, | |||
1618 | static int __devinit sis190_get_mac_addr_from_apc(struct pci_dev *pdev, | 1618 | static int __devinit sis190_get_mac_addr_from_apc(struct pci_dev *pdev, |
1619 | struct net_device *dev) | 1619 | struct net_device *dev) |
1620 | { | 1620 | { |
1621 | static const u16 __devinitdata ids[] = { 0x0965, 0x0966, 0x0968 }; | 1621 | static const u16 __devinitconst ids[] = { 0x0965, 0x0966, 0x0968 }; |
1622 | struct sis190_private *tp = netdev_priv(dev); | 1622 | struct sis190_private *tp = netdev_priv(dev); |
1623 | struct pci_dev *isa_bridge; | 1623 | struct pci_dev *isa_bridge; |
1624 | u8 reg, tmp8; | 1624 | u8 reg, tmp8; |
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index 64783a0d545a..d225a2adf1ee 100644 --- a/drivers/net/hamradio/6pack.c +++ b/drivers/net/hamradio/6pack.c | |||
@@ -811,9 +811,9 @@ static struct tty_ldisc_ops sp_ldisc = { | |||
811 | 811 | ||
812 | /* Initialize 6pack control device -- register 6pack line discipline */ | 812 | /* Initialize 6pack control device -- register 6pack line discipline */ |
813 | 813 | ||
814 | static const char msg_banner[] __initdata = KERN_INFO \ | 814 | static const char msg_banner[] __initconst = KERN_INFO \ |
815 | "AX.25: 6pack driver, " SIXPACK_VERSION "\n"; | 815 | "AX.25: 6pack driver, " SIXPACK_VERSION "\n"; |
816 | static const char msg_regfail[] __initdata = KERN_ERR \ | 816 | static const char msg_regfail[] __initconst = KERN_ERR \ |
817 | "6pack: can't register line discipline (err = %d)\n"; | 817 | "6pack: can't register line discipline (err = %d)\n"; |
818 | 818 | ||
819 | static int __init sixpack_init_driver(void) | 819 | static int __init sixpack_init_driver(void) |