mtd: 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> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
Родитель
06f2551069
Коммит
042a190944
|
@ -705,7 +705,7 @@ struct flash_info {
|
||||||
#define IS_POW2PS 0x0001 /* uses 2^N byte pages */
|
#define IS_POW2PS 0x0001 /* uses 2^N byte pages */
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct flash_info __devinitdata dataflash_data [] = {
|
static struct flash_info dataflash_data [] = {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NOTE: chips with SUP_POW2PS (rev D and up) need two entries,
|
* NOTE: chips with SUP_POW2PS (rev D and up) need two entries,
|
||||||
|
|
|
@ -64,7 +64,7 @@ struct flash_info {
|
||||||
|
|
||||||
#define to_sst25l_flash(x) container_of(x, struct sst25l_flash, mtd)
|
#define to_sst25l_flash(x) container_of(x, struct sst25l_flash, mtd)
|
||||||
|
|
||||||
static struct flash_info __devinitdata sst25l_flash_info[] = {
|
static struct flash_info sst25l_flash_info[] = {
|
||||||
{"sst25lf020a", 0xbf43, 256, 1024, 4096},
|
{"sst25lf020a", 0xbf43, 256, 1024, 4096},
|
||||||
{"sst25lf040a", 0xbf44, 256, 2048, 4096},
|
{"sst25lf040a", 0xbf44, 256, 2048, 4096},
|
||||||
};
|
};
|
||||||
|
|
|
@ -384,7 +384,7 @@ static void __devexit esb2rom_remove_one (struct pci_dev *pdev)
|
||||||
esb2rom_cleanup(window);
|
esb2rom_cleanup(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct pci_device_id esb2rom_pci_tbl[] __devinitdata = {
|
static struct pci_device_id esb2rom_pci_tbl[] = {
|
||||||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_0,
|
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_0,
|
||||||
PCI_ANY_ID, PCI_ANY_ID, },
|
PCI_ANY_ID, PCI_ANY_ID, },
|
||||||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801CA_0,
|
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801CA_0,
|
||||||
|
|
|
@ -321,7 +321,7 @@ static void __devexit ichxrom_remove_one (struct pci_dev *pdev)
|
||||||
ichxrom_cleanup(window);
|
ichxrom_cleanup(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct pci_device_id ichxrom_pci_tbl[] __devinitdata = {
|
static struct pci_device_id ichxrom_pci_tbl[] = {
|
||||||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_0,
|
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_0,
|
||||||
PCI_ANY_ID, PCI_ANY_ID, },
|
PCI_ANY_ID, PCI_ANY_ID, },
|
||||||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801CA_0,
|
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801CA_0,
|
||||||
|
|
|
@ -841,7 +841,7 @@ static int __devexit mpc5121_nfc_remove(struct platform_device *op)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct of_device_id mpc5121_nfc_match[] __devinitdata = {
|
static struct of_device_id mpc5121_nfc_match[] = {
|
||||||
{ .compatible = "fsl,mpc5121-nfc", },
|
{ .compatible = "fsl,mpc5121-nfc", },
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче