diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:24:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 15:55:19 -0500 |
commit | 0bbed20e0518f6b9d46b7fe2bd044e3398a6dc40 (patch) | |
tree | ae126440b00efd8f2cfbb5f1651aed994b25854a /drivers/char | |
parent | 2223cbec33ef3a26e7678be89de75cb60c4c257b (diff) |
char: remove use of __devinitdata
CONFIG_HOTPLUG is going away as an option so __devinitdata is no
longer needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: David Airlie <airlied@linux.ie>
Cc: Kent Yoder <key@linux.vnet.ibm.com>
Cc: Rajiv Andrade <mail@srajiv.net>
Cc: Marcel Selhorst <tpmdd@selhorst.net>
Cc: Sirrix AG <tpmdd@sirrix.com>
Cc: openipmi-developer@lists.sourceforge.net
Cc: tpmdd-devel@lists.sourceforge.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/agp/ali-agp.c | 2 | ||||
-rw-r--r-- | drivers/char/agp/amd-k7-agp.c | 2 | ||||
-rw-r--r-- | drivers/char/agp/ati-agp.c | 2 | ||||
-rw-r--r-- | drivers/char/agp/sis-agp.c | 6 | ||||
-rw-r--r-- | drivers/char/agp/uninorth-agp.c | 2 | ||||
-rw-r--r-- | drivers/char/agp/via-agp.c | 2 | ||||
-rw-r--r-- | drivers/char/hw_random/n2-drv.c | 2 | ||||
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 2 | ||||
-rw-r--r-- | drivers/char/tpm/tpm_ibmvtpm.c | 2 | ||||
-rw-r--r-- | drivers/char/tpm/tpm_tis.c | 2 |
10 files changed, 12 insertions, 12 deletions
diff --git a/drivers/char/agp/ali-agp.c b/drivers/char/agp/ali-agp.c index fd793519ea2b..9c022df134af 100644 --- a/drivers/char/agp/ali-agp.c +++ b/drivers/char/agp/ali-agp.c | |||
@@ -249,7 +249,7 @@ static const struct agp_bridge_driver ali_m1541_bridge = { | |||
249 | }; | 249 | }; |
250 | 250 | ||
251 | 251 | ||
252 | static struct agp_device_ids ali_agp_device_ids[] __devinitdata = | 252 | static struct agp_device_ids ali_agp_device_ids[] = |
253 | { | 253 | { |
254 | { | 254 | { |
255 | .device_id = PCI_DEVICE_ID_AL_M1541, | 255 | .device_id = PCI_DEVICE_ID_AL_M1541, |
diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c index f7e88787af97..3c7a2653f161 100644 --- a/drivers/char/agp/amd-k7-agp.c +++ b/drivers/char/agp/amd-k7-agp.c | |||
@@ -388,7 +388,7 @@ static const struct agp_bridge_driver amd_irongate_driver = { | |||
388 | .agp_type_to_mask_type = agp_generic_type_to_mask_type, | 388 | .agp_type_to_mask_type = agp_generic_type_to_mask_type, |
389 | }; | 389 | }; |
390 | 390 | ||
391 | static struct agp_device_ids amd_agp_device_ids[] __devinitdata = | 391 | static struct agp_device_ids amd_agp_device_ids[] = |
392 | { | 392 | { |
393 | { | 393 | { |
394 | .device_id = PCI_DEVICE_ID_AMD_FE_GATE_7006, | 394 | .device_id = PCI_DEVICE_ID_AMD_FE_GATE_7006, |
diff --git a/drivers/char/agp/ati-agp.c b/drivers/char/agp/ati-agp.c index dc30e2243494..d1c4c2340713 100644 --- a/drivers/char/agp/ati-agp.c +++ b/drivers/char/agp/ati-agp.c | |||
@@ -445,7 +445,7 @@ static const struct agp_bridge_driver ati_generic_bridge = { | |||
445 | }; | 445 | }; |
446 | 446 | ||
447 | 447 | ||
448 | static struct agp_device_ids ati_agp_device_ids[] __devinitdata = | 448 | static struct agp_device_ids ati_agp_device_ids[] = |
449 | { | 449 | { |
450 | { | 450 | { |
451 | .device_id = PCI_DEVICE_ID_ATI_RS100, | 451 | .device_id = PCI_DEVICE_ID_ATI_RS100, |
diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c index 08704ae53956..c93c9e5ee2c2 100644 --- a/drivers/char/agp/sis-agp.c +++ b/drivers/char/agp/sis-agp.c | |||
@@ -17,8 +17,8 @@ | |||
17 | #define PCI_DEVICE_ID_SI_662 0x0662 | 17 | #define PCI_DEVICE_ID_SI_662 0x0662 |
18 | #define PCI_DEVICE_ID_SI_671 0x0671 | 18 | #define PCI_DEVICE_ID_SI_671 0x0671 |
19 | 19 | ||
20 | static bool __devinitdata agp_sis_force_delay = 0; | 20 | static bool agp_sis_force_delay = 0; |
21 | static int __devinitdata agp_sis_agp_spec = -1; | 21 | static int agp_sis_agp_spec = -1; |
22 | 22 | ||
23 | static int sis_fetch_size(void) | 23 | static int sis_fetch_size(void) |
24 | { | 24 | { |
@@ -148,7 +148,7 @@ static struct agp_bridge_driver sis_driver = { | |||
148 | }; | 148 | }; |
149 | 149 | ||
150 | // chipsets that require the 'delay hack' | 150 | // chipsets that require the 'delay hack' |
151 | static int sis_broken_chipsets[] __devinitdata = { | 151 | static int sis_broken_chipsets[] = { |
152 | PCI_DEVICE_ID_SI_648, | 152 | PCI_DEVICE_ID_SI_648, |
153 | PCI_DEVICE_ID_SI_746, | 153 | PCI_DEVICE_ID_SI_746, |
154 | 0 // terminator | 154 | 0 // terminator |
diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c index a32c492baf5c..af02da4da9e3 100644 --- a/drivers/char/agp/uninorth-agp.c +++ b/drivers/char/agp/uninorth-agp.c | |||
@@ -557,7 +557,7 @@ const struct agp_bridge_driver u3_agp_driver = { | |||
557 | .needs_scratch_page = true, | 557 | .needs_scratch_page = true, |
558 | }; | 558 | }; |
559 | 559 | ||
560 | static struct agp_device_ids uninorth_agp_device_ids[] __devinitdata = { | 560 | static struct agp_device_ids uninorth_agp_device_ids[] = { |
561 | { | 561 | { |
562 | .device_id = PCI_DEVICE_ID_APPLE_UNI_N_AGP, | 562 | .device_id = PCI_DEVICE_ID_APPLE_UNI_N_AGP, |
563 | .chipset_name = "UniNorth", | 563 | .chipset_name = "UniNorth", |
diff --git a/drivers/char/agp/via-agp.c b/drivers/char/agp/via-agp.c index 8bc384937401..97706834bae1 100644 --- a/drivers/char/agp/via-agp.c +++ b/drivers/char/agp/via-agp.c | |||
@@ -224,7 +224,7 @@ static const struct agp_bridge_driver via_driver = { | |||
224 | .agp_type_to_mask_type = agp_generic_type_to_mask_type, | 224 | .agp_type_to_mask_type = agp_generic_type_to_mask_type, |
225 | }; | 225 | }; |
226 | 226 | ||
227 | static struct agp_device_ids via_agp_device_ids[] __devinitdata = | 227 | static struct agp_device_ids via_agp_device_ids[] = |
228 | { | 228 | { |
229 | { | 229 | { |
230 | .device_id = PCI_DEVICE_ID_VIA_82C597_0, | 230 | .device_id = PCI_DEVICE_ID_VIA_82C597_0, |
diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index ebd48f0135da..fd57d8a9faff 100644 --- a/drivers/char/hw_random/n2-drv.c +++ b/drivers/char/hw_random/n2-drv.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #define DRV_MODULE_VERSION "0.2" | 25 | #define DRV_MODULE_VERSION "0.2" |
26 | #define DRV_MODULE_RELDATE "July 27, 2011" | 26 | #define DRV_MODULE_RELDATE "July 27, 2011" |
27 | 27 | ||
28 | static char version[] __devinitdata = | 28 | static char version[] = |
29 | DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; | 29 | DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; |
30 | 30 | ||
31 | MODULE_AUTHOR("David S. Miller (davem@davemloft.net)"); | 31 | MODULE_AUTHOR("David S. Miller (davem@davemloft.net)"); |
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 1a465a4974f8..e55a7ad8ef18 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -3047,7 +3047,7 @@ static inline void wait_for_timer_and_thread(struct smi_info *smi_info) | |||
3047 | } | 3047 | } |
3048 | } | 3048 | } |
3049 | 3049 | ||
3050 | static __devinitdata struct ipmi_default_vals | 3050 | static struct ipmi_default_vals |
3051 | { | 3051 | { |
3052 | int type; | 3052 | int type; |
3053 | int port; | 3053 | int port; |
diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/drivers/char/tpm/tpm_ibmvtpm.c index efc4ab36a9d6..3b032dbb9de0 100644 --- a/drivers/char/tpm/tpm_ibmvtpm.c +++ b/drivers/char/tpm/tpm_ibmvtpm.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | static const char tpm_ibmvtpm_driver_name[] = "tpm_ibmvtpm"; | 33 | static const char tpm_ibmvtpm_driver_name[] = "tpm_ibmvtpm"; |
34 | 34 | ||
35 | static struct vio_device_id tpm_ibmvtpm_device_table[] __devinitdata = { | 35 | static struct vio_device_id tpm_ibmvtpm_device_table[] = { |
36 | { "IBM,vtpm", "IBM,vtpm"}, | 36 | { "IBM,vtpm", "IBM,vtpm"}, |
37 | { "", "" } | 37 | { "", "" } |
38 | }; | 38 | }; |
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c index 6bdf2671254f..25fee274bdbd 100644 --- a/drivers/char/tpm/tpm_tis.c +++ b/drivers/char/tpm/tpm_tis.c | |||
@@ -769,7 +769,7 @@ static int tpm_tis_pnp_resume(struct pnp_dev *dev) | |||
769 | return ret; | 769 | return ret; |
770 | } | 770 | } |
771 | 771 | ||
772 | static struct pnp_device_id tpm_pnp_tbl[] __devinitdata = { | 772 | static struct pnp_device_id tpm_pnp_tbl[] = { |
773 | {"PNP0C31", 0}, /* TPM */ | 773 | {"PNP0C31", 0}, /* TPM */ |
774 | {"ATM1200", 0}, /* Atmel */ | 774 | {"ATM1200", 0}, /* Atmel */ |
775 | {"IFX0102", 0}, /* Infineon */ | 775 | {"IFX0102", 0}, /* Infineon */ |