mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
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>
This commit is contained in:
parent
2223cbec33
commit
0bbed20e05
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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,
|
||||
|
@ -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)");
|
||||
|
@ -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;
|
||||
|
@ -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"},
|
||||
{ "", "" }
|
||||
};
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user