Char: add __devinitdata to pci_device_ids
Subsystems (6)
PATCH 1/2 Char: add __devinitdata to pci_device_ids
add __devinitdata to pci_device_ids
---
commit 6518489059ea5f8eca8d1ae6de51a6452b46eb52
tree 241f514f7cd903b7815b4ffb10fa650f1e34ba26
parent 1647618e3fba255fc77181e9e2e4eeb09e214680
author Jiri Slaby <[email protected]> Sat, 03 Feb 2007 15:47:33 +0100 committer Jiri Slaby <[email protected]> Sat, 03 Feb 2007 15:47:33 +0100
drivers/char/agp/ali-agp.c | 2 +- drivers/char/agp/amd-k7-agp.c | 2 +- drivers/char/agp/amd64-agp.c | 2 +- drivers/char/agp/ati-agp.c | 2 +- drivers/char/agp/efficeon-agp.c | 2 +- drivers/char/agp/i460-agp.c | 2 +- drivers/char/agp/intel-agp.c | 2 +- drivers/char/agp/nvidia-agp.c | 2 +- drivers/char/agp/sis-agp.c | 2 +- drivers/char/agp/sworks-agp.c | 2 +- drivers/char/agp/uninorth-agp.c | 2 +- drivers/char/agp/via-agp.c | 2 +- drivers/char/applicom.c | 2 +- drivers/char/cs5535_gpio.c | 2 +- drivers/char/drm/i810_drv.c | 2 +- drivers/char/drm/i830_drv.c | 2 +- drivers/char/drm/i915_drv.c | 2 +- drivers/char/drm/mga_drv.c | 2 +- drivers/char/drm/r128_drv.c | 2 +- drivers/char/drm/radeon_drv.c | 2 +- drivers/char/drm/savage_drv.c | 2 +- drivers/char/drm/sis_drv.c | 2 +- drivers/char/drm/tdfx_drv.c | 2 +- drivers/char/drm/via_drv.c | 2 +- drivers/char/epca.c | 2 +- drivers/char/hw_random/amd-rng.c | 2 +- drivers/char/hw_random/geode-rng.c | 2 +- drivers/char/hw_random/intel-rng.c | 2 +- drivers/char/ipmi/ipmi_si_intf.c | 2 +- drivers/char/isicom.c | 2 +- drivers/char/istallion.c | 2 +- drivers/char/moxa.c | 2 +- drivers/char/mxser.c | 2 +- drivers/char/mxser_new.c | 2 +- drivers/char/nozomi.c | 2 +- drivers/char/stallion.c | 2 +- drivers/char/sx.c | 2 +- drivers/char/synclink.c | 2 +- drivers/char/synclink_gt.c | 2 +- drivers/char/synclinkmp.c | 2 +- drivers/char/watchdog/alim1535_wdt.c | 2 +- drivers/char/watchdog/i6300esb.c | 2 +- drivers/char/watchdog/i8xx_tco.c | 2 +- drivers/char/watchdog/pcwd_pci.c | 2 +- drivers/char/watchdog/wdt_pci.c | 2 +- 45 files changed, 45 insertions(+), 45 deletions(-)
drivers/char/agp/ali-agp.c +1 -1
@@ -376,7 +376,7 @@ static void __devexit agp_ali_remove(struct pci_dev *pdev)agp_put_bridge (bridge); } -static struct pci_device_id agp_ali_pci_table[] = { +static struct pci_device_id agp_ali_pci_table[]__devinitdata = { { .class = (PCI_CLASS_BRIDGE_HOST <<8 ), .class_mask = ~0 ,
drivers/char/agp/amd-k7-agp.c +1 -1
@@ -490,7 +490,7 @@ static void __devexit agp_amdk7_remove(struct pci_dev *pdev) }/* must be the same order as name table above */ -static struct pci_device_id agp_amdk7_pci_table[] = { +static struct pci_device_id agp_amdk7_pci_table[]__devinitdata = { { .class = (PCI_CLASS_BRIDGE_HOST <<8 ), .class_mask = ~0 ,
drivers/char/agp/amd64-agp.c +1 -1
@@ -612,7 +612,7 @@ static int agp_amd64_resume(struct pci_dev *pdev)#endif /* CONFIG_PM */ -static struct pci_device_id agp_amd64_pci_table[] = { +static struct pci_device_id agp_amd64_pci_table[]__devinitdata = { { .class = (PCI_CLASS_BRIDGE_HOST <<8 ), .class_mask = ~0 ,
drivers/char/agp/ati-agp.c +1 -1
@@ -528,7 +528,7 @@ static void __devexit agp_ati_remove(struct pci_dev *pdev)agp_put_bridge (bridge); } -static struct pci_device_id agp_ati_pci_table[] = { +static struct pci_device_id agp_ati_pci_table[]__devinitdata = { { .class = (PCI_CLASS_BRIDGE_HOST <<8 ), .class_mask = ~0 ,
drivers/char/agp/efficeon-agp.c +1 -1
@@ -421,7 +421,7 @@ static int agp_efficeon_resume(struct pci_dev *pdev) }#endif -static struct pci_device_id agp_efficeon_pci_table[] = { +static struct pci_device_id agp_efficeon_pci_table[]__devinitdata = { { .class = (PCI_CLASS_BRIDGE_HOST <<8 ), .class_mask = ~0 ,
drivers/char/agp/i460-agp.c +1 -1
@@ -614,7 +614,7 @@ static void __devexit agp_intel_i460_remove(struct pci_dev *pdev)agp_put_bridge (bridge); } -static struct pci_device_id agp_intel_i460_pci_table[] = { +static struct pci_device_id agp_intel_i460_pci_table[]__devinitdata = { { .class = (PCI_CLASS_BRIDGE_HOST <<8 ), .class_mask = ~0 ,
drivers/char/agp/intel-agp.c +1 -1
@@ -2039,7 +2039,7 @@ static int agp_intel_resume(struct pci_dev *pdev) }#endif -static struct pci_device_id agp_intel_pci_table[] = { +static struct pci_device_id agp_intel_pci_table[]__devinitdata = { #define ID(x) \ { \ .class = (PCI_CLASS_BRIDGE_HOST <<8 ), \
drivers/char/agp/nvidia-agp.c +1 -1
@@ -400,7 +400,7 @@ static int agp_nvidia_resume(struct pci_dev *pdev)#endif -static struct pci_device_id agp_nvidia_pci_table[] = { +static struct pci_device_id agp_nvidia_pci_table[]__devinitdata = { { .class = (PCI_CLASS_BRIDGE_HOST <<8 ), .class_mask = ~0 ,
drivers/char/agp/sis-agp.c +1 -1
@@ -317,7 +317,7 @@ static void __devexit agp_sis_remove(struct pci_dev *pdev)agp_put_bridge (bridge); } -static struct pci_device_id agp_sis_pci_table[] = { +static struct pci_device_id agp_sis_pci_table[]__devinitdata = { { .class = (PCI_CLASS_BRIDGE_HOST <<8 ), .class_mask = ~0 ,
drivers/char/agp/sworks-agp.c +1 -1
@@ -529,7 +529,7 @@ static void __devexit agp_serverworks_remove(struct pci_dev *pdev)agp_put_bridge (bridge); } -static struct pci_device_id agp_serverworks_pci_table[] = { +static struct pci_device_id agp_serverworks_pci_table[]__devinitdata = { { .class = (PCI_CLASS_BRIDGE_HOST <<8 ), .class_mask = ~0 ,
drivers/char/agp/uninorth-agp.c +1 -1
@@ -659,7 +659,7 @@ static void __devexit agp_uninorth_remove(struct pci_dev *pdev)agp_put_bridge (bridge); } -static struct pci_device_id agp_uninorth_pci_table[] = { +static struct pci_device_id agp_uninorth_pci_table[]__devinitdata = { { .class = (PCI_CLASS_BRIDGE_HOST <<8 ), .class_mask = ~0 ,
drivers/char/agp/via-agp.c +1 -1
@@ -501,7 +501,7 @@ static int agp_via_resume(struct pci_dev *pdev)#endif /* CONFIG_PM */ /* must be the same order as name table above */ -static const struct pci_device_id agp_via_pci_table[] = { +static const struct pci_device_id agp_via_pci_table[]__devinitdata = { #define ID(x) \ { \ .class = (PCI_CLASS_BRIDGE_HOST <<8 ), \
drivers/char/applicom.c +1 -1
@@ -65,7 +65,7 @@ static char *applicom_pci_devnames[] = {"PCI2000PFB" }; -static struct pci_device_id applicom_pci_tbl[] = { +static struct pci_device_id applicom_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_APPLICOM ,PCI_DEVICE_ID_APPLICOM_PCIGENERIC ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {PCI_VENDOR_ID_APPLICOM ,PCI_DEVICE_ID_APPLICOM_PCI2000IBS_CAN ,
drivers/char/cs5535_gpio.c +1 -1
@@ -39,7 +39,7 @@ MODULE_PARM_DESC(mask, "GPIO channel mask");static u32 gpio_base; -static struct pci_device_id divil_pci[] = { +static struct pci_device_id divil_pci[]__devinitdata = { {PCI_DEVICE (PCI_VENDOR_ID_NS ,PCI_DEVICE_ID_NS_CS5535_ISA ) }, {PCI_DEVICE (PCI_VENDOR_ID_AMD ,PCI_DEVICE_ID_AMD_CS5536_ISA ) }, { }/* NULL entry */
drivers/char/drm/i810_drv.c +1 -1
@@ -37,7 +37,7 @@#include "drm_pciids.h" -static struct pci_device_id pciidlist[] = { +static struct pci_device_id pciidlist[]__devinitdata = { i810_PCI_IDS };
drivers/char/drm/i830_drv.c +1 -1
@@ -39,7 +39,7 @@#include "drm_pciids.h" -static struct pci_device_id pciidlist[] = { +static struct pci_device_id pciidlist[]__devinitdata = { i830_PCI_IDS };
drivers/char/drm/i915_drv.c +1 -1
@@ -34,7 +34,7 @@#include "drm_pciids.h" -static struct pci_device_id pciidlist[] = { +static struct pci_device_id pciidlist[]__devinitdata = { i915_PCI_IDS };
drivers/char/drm/mga_drv.c +1 -1
@@ -38,7 +38,7 @@static int mga_driver_device_is_agp (drm_device_t * dev); -static struct pci_device_id pciidlist[] = { +static struct pci_device_id pciidlist[]__devinitdata = { mga_PCI_IDS };
drivers/char/drm/r128_drv.c +1 -1
@@ -36,7 +36,7 @@#include "drm_pciids.h" -static struct pci_device_id pciidlist[] = { +static struct pci_device_id pciidlist[]__devinitdata = { r128_PCI_IDS };
drivers/char/drm/radeon_drv.c +1 -1
@@ -52,7 +52,7 @@ static int dri_library_name(struct drm_device *dev, char *buf) "r300")); } -static struct pci_device_id pciidlist[] = { +static struct pci_device_id pciidlist[]__devinitdata = { radeon_PCI_IDS };
drivers/char/drm/savage_drv.c +1 -1
@@ -29,7 +29,7 @@#include "drm_pciids.h" -static struct pci_device_id pciidlist[] = { +static struct pci_device_id pciidlist[]__devinitdata = { savage_PCI_IDS };
drivers/char/drm/sis_drv.c +1 -1
@@ -31,7 +31,7 @@#include "drm_pciids.h" -static struct pci_device_id pciidlist[] = { +static struct pci_device_id pciidlist[]__devinitdata = { sisdrv_PCI_IDS };
drivers/char/drm/tdfx_drv.c +1 -1
@@ -35,7 +35,7 @@#include "drm_pciids.h" -static struct pci_device_id pciidlist[] = { +static struct pci_device_id pciidlist[]__devinitdata = { tdfx_PCI_IDS };
drivers/char/drm/via_drv.c +1 -1
@@ -33,7 +33,7 @@ static int dri_library_name(struct drm_device *dev, char *buf)return snprintf (buf,PAGE_SIZE ,"unichrome" ); } -static struct pci_device_id pciidlist[] = { +static struct pci_device_id pciidlist[]__devinitdata = { viadrv_PCI_IDS };
drivers/char/epca.c +1 -1
@@ -3092,7 +3092,7 @@ err_out: } -static struct pci_device_id epca_pci_tbl[] = { +static struct pci_device_id epca_pci_tbl[]__devinitdata = { {PCI_VENDOR_DIGI ,PCI_DEVICE_XR ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , brd_xr }, {PCI_VENDOR_DIGI ,PCI_DEVICE_XEM ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , brd_xem }, {PCI_VENDOR_DIGI ,PCI_DEVICE_CX ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , brd_cx },
drivers/char/hw_random/amd-rng.c +1 -1
@@ -42,7 +42,7 @@* register a pci_driver, because someone else might one day * want to register another driver on the same PCI id. */ -static const struct pci_device_id pci_tbl[] = { +static const struct pci_device_id pci_tbl[]__devinitdata = { {0x1022 ,0x7443 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 , }, {0x1022 ,0x746b ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 , }, {0 , },/* terminate list */
drivers/char/hw_random/geode-rng.c +1 -1
@@ -44,7 +44,7 @@* register a pci_driver, because someone else might one day * want to register another driver on the same PCI id. */ -static const struct pci_device_id pci_tbl[] = { +static const struct pci_device_id pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_AMD ,PCI_DEVICE_ID_AMD_LX_AES ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 , }, {0 , },/* terminate list */
drivers/char/hw_random/intel-rng.c +1 -1
@@ -94,7 +94,7 @@* register a pci_driver, because someone else might one day * want to register another driver on the same PCI id. */ -static const struct pci_device_id pci_tbl[] = { +static const struct pci_device_id pci_tbl[]__devinitdata = {/* AA { 0x8086, 0x2418, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, */ {0x8086 ,0x2410 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 , },/* AA */
drivers/char/ipmi/ipmi_si_intf.c +1 -1
@@ -2153,7 +2153,7 @@ static int ipmi_pci_resume(struct pci_dev *pdev) }#endif -static struct pci_device_id ipmi_pci_devices[] = { +static struct pci_device_id ipmi_pci_devices[]__devinitdata = { {PCI_DEVICE (PCI_HP_VENDOR_ID ,PCI_MMC_DEVICE_ID ) }, {PCI_DEVICE_CLASS (PCI_ERMC_CLASSCODE ,PCI_ERMC_CLASSCODE_MASK ) } };
drivers/char/isicom.c +1 -1
@@ -148,7 +148,7 @@static int isicom_probe (struct pci_dev *,const struct pci_device_id *); static void __devexit isicom_remove(struct pci_dev *); -static struct pci_device_id isicom_pci_tbl[] = { +static struct pci_device_id isicom_pci_tbl[]__devinitdata = { {PCI_DEVICE (VENDOR_ID ,0x2028 ) }, {PCI_DEVICE (VENDOR_ID ,0x2051 ) }, {PCI_DEVICE (VENDOR_ID ,0x2052 ) },
drivers/char/istallion.c +1 -1
@@ -384,7 +384,7 @@ static int stli_eisamempsize = ARRAY_SIZE(stli_eisamemprobeaddrs);#define PCI_DEVICE_ID_ECRA 0x0004#endif -static struct pci_device_id istallion_pci_tbl[] = { +static struct pci_device_id istallion_pci_tbl[]__devinitdata = { {PCI_DEVICE (PCI_VENDOR_ID_STALLION ,PCI_DEVICE_ID_ECRA ), }, {0 } };
drivers/char/moxa.c +1 -1
@@ -79,7 +79,7 @@ static char *moxa_brdname[] = }; #ifdef CONFIG_PCI -static struct pci_device_id moxa_pcibrds[] = { +static struct pci_device_id moxa_pcibrds[] __devinitdata = { { PCI_DEVICE(PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C218), .driver_data = MOXA_BOARD_C218_PCI }, { PCI_DEVICE(PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C320),
drivers/char/mxser.c +1 -1
@@ -204,7 +204,7 @@ static const struct mxpciuart_info Gpci_uart_info[UART_INFO_NUM] = {#ifdef CONFIG_PCI -static struct pci_device_id mxser_pcibrds[] = { +static struct pci_device_id mxser_pcibrds[]__devinitdata = { {PCI_VENDOR_ID_MOXA ,PCI_DEVICE_ID_MOXA_C168 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,MXSER_BOARD_C168_PCI }, {PCI_VENDOR_ID_MOXA ,PCI_DEVICE_ID_MOXA_C104 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,MXSER_BOARD_C104_PCI }, {PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_CP132, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MXSER_BOARD_CP132},
drivers/char/mxser_new.c +1 -1
@@ -138,7 +138,7 @@ static const struct mxser_cardinfo mxser_cards[] = {/* driver_data correspond to the lines in the structure above see also ISA probe function before you change something */ -static struct pci_device_id mxser_pcibrds[] = { +static struct pci_device_id mxser_pcibrds[]__devinitdata = { {PCI_DEVICE (PCI_VENDOR_ID_MOXA ,PCI_DEVICE_ID_MOXA_C168 ), .driver_data =3 }, {PCI_DEVICE (PCI_VENDOR_ID_MOXA ,PCI_DEVICE_ID_MOXA_C104 ),
drivers/char/nozomi.c +1 -1
@@ -465,7 +465,7 @@ struct buffer {static int ntty_tty_init (struct nozomi * dc);/* Global variables */ -static struct pci_device_id nozomi_pci_tbl[] = { +static struct pci_device_id nozomi_pci_tbl[]__devinitdata = { {PCI_DEVICE (VENDOR1 ,DEVICE1 )}, {0 ,} };
drivers/char/stallion.c +1 -1
@@ -367,7 +367,7 @@ static spinlock_t stallion_lock; /* Guard the tty driver */* Define structure to hold all Stallion PCI boards. */ -static struct pci_device_id stl_pcibrds[] = { +static struct pci_device_id stl_pcibrds[]__devinitdata = { {PCI_DEVICE (PCI_VENDOR_ID_STALLION ,PCI_DEVICE_ID_ECHPCI864 ), .driver_data =BRD_ECH64PCI }, {PCI_DEVICE (PCI_VENDOR_ID_STALLION ,PCI_DEVICE_ID_EIOPCI ),
drivers/char/sx.c +1 -1
@@ -2719,7 +2719,7 @@ static void __devexit sx_pci_remove(struct pci_dev *pdev)/* Specialix has a whole bunch of cards with 0x2000 as the device ID. They say its because the standard requires it. So check for SUBVENDOR_ID. */ -static struct pci_device_id sx_pci_tbl[] = { +static struct pci_device_id sx_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_SPECIALIX ,PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8 , .subvendor =0x0200 ,.subdevice =PCI_ANY_ID }, {PCI_VENDOR_ID_SPECIALIX ,PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8 ,
drivers/char/synclink.c +1 -1
@@ -905,7 +905,7 @@ static int synclink_init_one (struct pci_dev *dev, const struct pci_device_id *ent);static void synclink_remove_one (struct pci_dev *dev); -static struct pci_device_id synclink_pci_tbl[] = { +static struct pci_device_id synclink_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_MICROGATE ,PCI_DEVICE_ID_MICROGATE_USC ,PCI_ANY_ID ,PCI_ANY_ID , }, {PCI_VENDOR_ID_MICROGATE ,0x0210 ,PCI_ANY_ID ,PCI_ANY_ID , }, {0 , },/* terminate list */
drivers/char/synclink_gt.c +1 -1
@@ -100,7 +100,7 @@ MODULE_LICENSE("GPL");#define MGSL_MAGIC 0x5401#define MAX_DEVICES 32 -static struct pci_device_id pci_table[] = { +static struct pci_device_id pci_table[]__devinitdata = { {PCI_VENDOR_ID_MICROGATE ,SYNCLINK_GT_DEVICE_ID ,PCI_ANY_ID ,PCI_ANY_ID ,}, {PCI_VENDOR_ID_MICROGATE ,SYNCLINK_GT2_DEVICE_ID ,PCI_ANY_ID ,PCI_ANY_ID ,}, {PCI_VENDOR_ID_MICROGATE ,SYNCLINK_GT4_DEVICE_ID ,PCI_ANY_ID ,PCI_ANY_ID ,},
drivers/char/synclinkmp.c +1 -1
@@ -492,7 +492,7 @@ static char *driver_version = "$Revision: 4.38 $";static int synclinkmp_init_one (struct pci_dev *dev,const struct pci_device_id *ent);static void synclinkmp_remove_one (struct pci_dev *dev); -static struct pci_device_id synclinkmp_pci_tbl[] = { +static struct pci_device_id synclinkmp_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_MICROGATE ,PCI_DEVICE_ID_MICROGATE_SCA ,PCI_ANY_ID ,PCI_ANY_ID , }, {0 , },/* terminate list */ };
drivers/char/watchdog/alim1535_wdt.c +1 -1
@@ -311,7 +311,7 @@ static int ali_notify_sys(struct notifier_block *this, unsigned long code, void* want to register another driver on the same PCI id. */ -static struct pci_device_id ali_pci_tbl[] = { +static struct pci_device_id ali_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_AL ,0x1535 ,PCI_ANY_ID ,PCI_ANY_ID ,}, {0 , }, };
drivers/char/watchdog/i6300esb.c +1 -1
@@ -364,7 +364,7 @@ static struct notifier_block esb_notifier = {* register a pci_driver, because someone else might one day * want to register another driver on the same PCI id. */ -static struct pci_device_id esb_pci_tbl[] = { +static struct pci_device_id esb_pci_tbl[]__devinitdata = { {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_ESB_9 ), }, {0 , },/* End of list */ };
drivers/char/watchdog/i8xx_tco.c +1 -1
@@ -405,7 +405,7 @@ static struct notifier_block i8xx_tco_notifier = {* register a pci_driver, because someone else might one day * want to register another driver on the same PCI id. */ -static struct pci_device_id i8xx_tco_pci_tbl[] = { +static struct pci_device_id i8xx_tco_pci_tbl[]__devinitdata = { {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_82801AA_0 ) }, {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_82801AB_0 ) }, {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_82801BA_0 ) },
drivers/char/watchdog/pcwd_pci.c +1 -1
@@ -794,7 +794,7 @@ static void __devexit pcipcwd_card_exit(struct pci_dev *pdev) cards_found--; } -static struct pci_device_id pcipcwd_pci_tbl[] = { +static struct pci_device_id pcipcwd_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_QUICKLOGIC ,PCI_DEVICE_ID_WATCHDOG_PCIPCWD ,PCI_ANY_ID ,PCI_ANY_ID , }, {0 },/* End of list */
drivers/char/watchdog/wdt_pci.c +1 -1
@@ -696,7 +696,7 @@ static void __devexit wdtpci_remove_one (struct pci_dev *pdev) } -static struct pci_device_id wdtpci_pci_tbl[] = { +static struct pci_device_id wdtpci_pci_tbl[]__devinitdata = { { .vendor =PCI_VENDOR_ID_ACCESSIO , .device =PCI_DEVICE_ID_WDG_CSM ,
PATCH 2/2 Char: use more PCI_DEVICE macro
use more PCI_DEVICE macro
---
commit 047d70c2758f6c0bb91350bfd4aca1a8a588d35f
tree c978c1e8d3748bb7749fdac7c41215f64c2a70c9
parent 6518489059ea5f8eca8d1ae6de51a6452b46eb52
author Jiri Slaby <[email protected]> Sat, 03 Feb 2007 15:55:52 +0100 committer Jiri Slaby <[email protected]> Sat, 03 Feb 2007 15:55:52 +0100
drivers/char/applicom.c | 12 +++-- drivers/char/hw_random/amd-rng.c | 4 +- drivers/char/hw_random/geode-rng.c | 3 - drivers/char/hw_random/intel-rng.c | 76 +++++++++++++++++----------------- drivers/char/watchdog/alim7101_wdt.c | 6 +-- 5 files changed, 49 insertions(+), 52 deletions(-)
drivers/char/applicom.c +6 -6
@@ -66,12 +66,12 @@ static char *applicom_pci_devnames[] = { };static struct pci_device_id applicom_pci_tbl[]__devinitdata = { - {PCI_VENDOR_ID_APPLICOM ,PCI_DEVICE_ID_APPLICOM_PCIGENERIC , -PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, - {PCI_VENDOR_ID_APPLICOM ,PCI_DEVICE_ID_APPLICOM_PCI2000IBS_CAN , -PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, - {PCI_VENDOR_ID_APPLICOM ,PCI_DEVICE_ID_APPLICOM_PCI2000PFB , -PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, + {PCI_DEVICE (PCI_VENDOR_ID_APPLICOM , +PCI_DEVICE_ID_APPLICOM_PCIGENERIC ) }, + {PCI_DEVICE (PCI_VENDOR_ID_APPLICOM , +PCI_DEVICE_ID_APPLICOM_PCI2000IBS_CAN ) }, + {PCI_DEVICE (PCI_VENDOR_ID_APPLICOM , +PCI_DEVICE_ID_APPLICOM_PCI2000PFB ) }, {0 } };MODULE_DEVICE_TABLE (pci, applicom_pci_tbl);
drivers/char/hw_random/amd-rng.c +2 -2
@@ -43,8 +43,8 @@* want to register another driver on the same PCI id. */ static const struct pci_device_id pci_tbl[]__devinitdata = { - {0x1022 ,0x7443 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 , }, - {0x1022 ,0x746b ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 , }, + {PCI_DEVICE (0x1022 ,0x7443 ) }, + {PCI_DEVICE (0x1022 ,0x746b ) }, {0 , },/* terminate list */ };MODULE_DEVICE_TABLE (pci, pci_tbl);
drivers/char/hw_random/geode-rng.c +1 -2
@@ -45,8 +45,7 @@* want to register another driver on the same PCI id. */ static const struct pci_device_id pci_tbl[]__devinitdata = { - {PCI_VENDOR_ID_AMD ,PCI_DEVICE_ID_AMD_LX_AES , -PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 , }, + {PCI_DEVICE (PCI_VENDOR_ID_AMD ,PCI_DEVICE_ID_AMD_LX_AES ) }, {0 , },/* terminate list */ };MODULE_DEVICE_TABLE (pci, pci_tbl);
drivers/char/hw_random/intel-rng.c +38 -38
87 lines not on this page · raw message
drivers/char/watchdog/alim7101_wdt.c +2 -4
@@ -417,10 +417,8 @@ module_init(alim7101_wdt_init);module_exit (alim7101_wdt_unload);static struct pci_device_id alim7101_pci_tbl[]__devinitdata = { - {PCI_VENDOR_ID_AL ,PCI_DEVICE_ID_AL_M1533 , -PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, - {PCI_VENDOR_ID_AL ,PCI_DEVICE_ID_AL_M7101 , -PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, + {PCI_DEVICE (PCI_VENDOR_ID_AL ,PCI_DEVICE_ID_AL_M1533 ) }, + {PCI_DEVICE (PCI_VENDOR_ID_AL ,PCI_DEVICE_ID_AL_M7101 ) }, { } };
Re: [PATCH 2/2] Char: use more PCI_DEVICE macro
Hi Jiri,
Quoted 4 lines
use more
PCI_DEVICEmacroSigned-off-by Jiri Slaby <[email protected]>
Signed-off-by me for drivers/char/watchdog/alim7101_wdt.c .
Greetings,
Wim.
Quoted 3 lines · Jiri Slaby
add
__devinitdatatopci_device_idsSigned-off-by Jiri Slaby <[email protected]>
http://lkml.org/lkml/2003/8/1/135
I think that it is still true, Greg?
Bart
Quoted 8 lines · Bartlomiej Zolnierkiewicz
Quoted 3 lines · Jiri Slaby
add
__devinitdatatopci_device_idsSigned-off-by Jiri Slaby <[email protected]>http://lkml.org/lkml/2003/8/1/135
I think that it is still true, Greg?
Hmm, then I misunderstood this:
http://lkml.org/lkml/2007/1/17/136
?
regards,
Signature · 4 lines
http://www.fi.muni.cz/~xslaby/ Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby gmail com, gpg pubkey fingerprint: B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
Quoted 9 lines · Jiri Slaby
Quoted 8 lines · Bartlomiej Zolnierkiewicz
Quoted 3 lines · Jiri Slaby
add
__devinitdatatopci_device_idsSigned-off-by Jiri Slaby <[email protected]>http://lkml.org/lkml/2003/8/1/135
I think that it is still true, Greg?
No it is not.
Quoted 3 lines
Hmm, then I misunderstood this:
http://lkml.org/lkml/2007/1/17/136
?
Yes, that is correct.
But Jiri, why do this? What memory savings are you seeing here now that CONFIG_HOTPLUG is enabled by default? The only people I see liking this kind of change are embedded, and I don't think many embedded devices have these drivers and do not use hotplug at the same time :)
thanks,
greg k-h
Greg KH napsal(a):
Quoted 16 lines · Jiri Slaby
Quoted 8 lines · Bartlomiej Zolnierkiewicz
Quoted 7 lines · Jiri Slaby
Quoted 3 lines
add
__devinitdatatopci_device_idsSigned-off-by Jiri Slaby <[email protected]>http://lkml.org/lkml/2003/8/1/135
I think that it is still true, Greg?
No it is not.
Quoted 3 lines
Hmm, then I misunderstood this:
http://lkml.org/lkml/2007/1/17/136
?
Quoted 6 lines
Yes, that is correct.
But Jiri, why do this? What memory savings are you seeing here now that
CONFIG_HOTPLUGis enabled by default? The only people I see liking this kind of change are embedded, and I don't think many embedded devices have these drivers and do not use hotplug at the same time :)
Yes, correct, please cat this_patch >/dev/null.
thanks,
Signature · 4 lines
http://www.fi.muni.cz/~xslaby/ Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby gmail com, gpg pubkey fingerprint: B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 MAINTAINERS, remove two dead e-mail
Bartlomiej Zolnierkiewicz napsal(a):
Quoted 15 lines · Greg KH
Quoted 14 lines · Jiri Slaby
Quoted 1 line
Please, are you experiencing this too? Maybe it's about to be
removed from
Quoted 2 lines
MAINTAINERS?
Diagnostic-Code: X-Postfix; host mail.cyclades.com[64.186.161.6]said: 550
Quoted 1 line
<[email protected]>: Recipient address rejected: undeliverable
address:
Quoted 1 line
host usmail.cyclades.com[64.186.161.37] said: 550Quoted 2 lines
No
such user (in reply to RCPT TO command) (in reply to RCPT TOcommand)
Quoted 7 lines
Quoted 1 line
Yes, I got it too.
me too
Jiri, while at it maybe you could also try to verify the situation with the other @cyclades.com email address from the
MAINTAINERSfile ([email protected] for pc300 driver)?
Not even this one exists
550 [email protected]... No such user
--
MAINTAINERS, remove two dead e-mail
Cyclades no longer serves the 2 e-mails listed in MAINTAINERS. Remove them and mark those entries as Orphaned.
---
commit 9409f7e4a66eeb82b494d1f7371808dffa51bbe0
tree e3f505b099ee60ecfade367a39a602cbd6db5085
parent e04ecea3d2a26acd32e48da422f233973a5c0dd4
author Jiri Slaby <[email protected]> Mon, 05 Feb 2007 01:43:25 +0100 committer Jiri Slaby <[email protected]> Mon, 05 Feb 2007 01:43:25 +0100
MAINTAINERS | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
MAINTAINERS +2 -4
@@ -996,14 +996,12 @@ L: [email protected] S: Maintained CYCLADES ASYNC MUX DRIVER -M: [email protected] W: http://www.cyclades.com/ -S: Supported +S: Orphan CYCLADES PC300 DRIVER -M: [email protected] W: http://www.cyclades.com/ -S: Supported +S: Orphan DAMA SLAVE for AX.25 P: Joerg Reuter