char: remove use of __devinitdata
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:24:36 +0000 (13:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:55:19 +0000 (12:55 -0800)
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>
drivers/char/agp/ali-agp.c
drivers/char/agp/amd-k7-agp.c
drivers/char/agp/ati-agp.c
drivers/char/agp/sis-agp.c
drivers/char/agp/uninorth-agp.c
drivers/char/agp/via-agp.c
drivers/char/hw_random/n2-drv.c
drivers/char/ipmi/ipmi_si_intf.c
drivers/char/tpm/tpm_ibmvtpm.c
drivers/char/tpm/tpm_tis.c

index fd793519ea2b1f663f71c093df28b569aef57d2f..9c022df134af33c0b223c63487a782c194350aa2 100644 (file)
@@ -249,7 +249,7 @@ static const struct agp_bridge_driver ali_m1541_bridge = {
 };
 
 
-static struct agp_device_ids ali_agp_device_ids[] __devinitdata =
+static struct agp_device_ids ali_agp_device_ids[] =
 {
        {
                .device_id      = PCI_DEVICE_ID_AL_M1541,
index f7e88787af970947f236b78f68c6ade8c02fab46..3c7a2653f1614c9e27d1938dfdc8fe5b4d22238b 100644 (file)
@@ -388,7 +388,7 @@ static const struct agp_bridge_driver amd_irongate_driver = {
        .agp_type_to_mask_type  = agp_generic_type_to_mask_type,
 };
 
-static struct agp_device_ids amd_agp_device_ids[] __devinitdata =
+static struct agp_device_ids amd_agp_device_ids[] =
 {
        {
                .device_id      = PCI_DEVICE_ID_AMD_FE_GATE_7006,
index dc30e22434947472c150cff60d00e52fde6ec04f..d1c4c2340713ac1778178fb3b285b7986859c77f 100644 (file)
@@ -445,7 +445,7 @@ static const struct agp_bridge_driver ati_generic_bridge = {
 };
 
 
-static struct agp_device_ids ati_agp_device_ids[] __devinitdata =
+static struct agp_device_ids ati_agp_device_ids[] =
 {
        {
                .device_id      = PCI_DEVICE_ID_ATI_RS100,
index 08704ae539566fa8c337b9dbaa34c31654ff0a8c..c93c9e5ee2c23340d014498d27b87e4fe0512ef7 100644 (file)
@@ -17,8 +17,8 @@
 #define PCI_DEVICE_ID_SI_662   0x0662
 #define PCI_DEVICE_ID_SI_671   0x0671
 
-static bool __devinitdata agp_sis_force_delay = 0;
-static int __devinitdata agp_sis_agp_spec = -1;
+static bool agp_sis_force_delay = 0;
+static int agp_sis_agp_spec = -1;
 
 static int sis_fetch_size(void)
 {
@@ -148,7 +148,7 @@ static struct agp_bridge_driver sis_driver = {
 };
 
 // chipsets that require the 'delay hack'
-static int sis_broken_chipsets[] __devinitdata = {
+static int sis_broken_chipsets[] = {
        PCI_DEVICE_ID_SI_648,
        PCI_DEVICE_ID_SI_746,
        0 // terminator
index a32c492baf5cc15001ad6882dc25a14d1be86419..af02da4da9e3f8ed55182c95033d79b41f9a6e9d 100644 (file)
@@ -557,7 +557,7 @@ const struct agp_bridge_driver u3_agp_driver = {
        .needs_scratch_page     = true,
 };
 
-static struct agp_device_ids uninorth_agp_device_ids[] __devinitdata = {
+static struct agp_device_ids uninorth_agp_device_ids[] = {
        {
                .device_id      = PCI_DEVICE_ID_APPLE_UNI_N_AGP,
                .chipset_name   = "UniNorth",
index 8bc384937401d53155f4a5f95107775ed723dc6f..97706834bae109abb03130e5162692de3d85458b 100644 (file)
@@ -224,7 +224,7 @@ static const struct agp_bridge_driver via_driver = {
        .agp_type_to_mask_type  = agp_generic_type_to_mask_type,
 };
 
-static struct agp_device_ids via_agp_device_ids[] __devinitdata =
+static struct agp_device_ids via_agp_device_ids[] =
 {
        {
                .device_id      = PCI_DEVICE_ID_VIA_82C597_0,
index ebd48f0135dae66dfd313ed9024b32f53bb4e125..fd57d8a9faff4eec8f51bec22b1baf0af3ac0c27 100644 (file)
@@ -25,7 +25,7 @@
 #define DRV_MODULE_VERSION     "0.2"
 #define DRV_MODULE_RELDATE     "July 27, 2011"
 
-static char version[] __devinitdata =
+static char version[] =
        DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";
 
 MODULE_AUTHOR("David S. Miller (davem@davemloft.net)");
index 1a465a4974f8a5eb0843779dfedeb2fd5602a0f9..e55a7ad8ef1896229298cf576602018750410db9 100644 (file)
@@ -3047,7 +3047,7 @@ static inline void wait_for_timer_and_thread(struct smi_info *smi_info)
        }
 }
 
-static __devinitdata struct ipmi_default_vals
+static struct ipmi_default_vals
 {
        int type;
        int port;
index efc4ab36a9d603a226e1870813fced9f27b1e581..3b032dbb9de0a0231551750f995e5d50f60017b9 100644 (file)
@@ -32,7 +32,7 @@
 
 static const char tpm_ibmvtpm_driver_name[] = "tpm_ibmvtpm";
 
-static struct vio_device_id tpm_ibmvtpm_device_table[] __devinitdata = {
+static struct vio_device_id tpm_ibmvtpm_device_table[] = {
        { "IBM,vtpm", "IBM,vtpm"},
        { "", "" }
 };
index 6bdf2671254f405e03bfcca83cebba4cbae2e50c..25fee274bdbdbbb6548df49e3ede9dfb3cd8283e 100644 (file)
@@ -769,7 +769,7 @@ static int tpm_tis_pnp_resume(struct pnp_dev *dev)
        return ret;
 }
 
-static struct pnp_device_id tpm_pnp_tbl[] __devinitdata = {
+static struct pnp_device_id tpm_pnp_tbl[] = {
        {"PNP0C31", 0},         /* TPM */
        {"ATM1200", 0},         /* Atmel */
        {"IFX0102", 0},         /* Infineon */