i2c: remove CONFIG_HOTPLUG ifdefs
Subsystems (384)
PATCH 283/493 powerpc: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- arch/powerpc/include/asm/eeh.h | 6 ++--- arch/powerpc/include/asm/io-workarounds.h | 2 +- arch/powerpc/include/asm/parport.h | 2 +- arch/powerpc/include/asm/smp.h | 4 +-- arch/powerpc/include/asm/vio.h | 2 +- arch/powerpc/kernel/io-workarounds.c | 4 +-- arch/powerpc/kernel/isa-bridge.c | 6 ++--- arch/powerpc/kernel/of_platform.c | 2 +- arch/powerpc/kernel/pci-common.c | 22 ++++++++-------- arch/powerpc/kernel/pci_32.c | 2 +- arch/powerpc/kernel/pci_64.c | 6 ++--- arch/powerpc/kernel/pci_dn.c | 4 +-- arch/powerpc/kernel/pci_of_scan.c | 8 +++--- arch/powerpc/kernel/rtas_pci.c | 4 +-- arch/powerpc/kernel/smp-tbsync.c | 8 +++--- arch/powerpc/kernel/smp.c | 8 +++--- arch/powerpc/kernel/vio.c | 4 +-- arch/powerpc/platforms/44x/currituck.c | 2 +- arch/powerpc/platforms/44x/virtex_ml510.c | 2 +- arch/powerpc/platforms/52xx/mpc52xx_gpt.c | 6 ++--- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 2 +- arch/powerpc/platforms/82xx/ep8248e.c | 2 +- arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 2 +- arch/powerpc/platforms/85xx/mpc85xx_cds.c | 2 +- arch/powerpc/platforms/85xx/tqm85xx.c | 2 +- arch/powerpc/platforms/86xx/gef_ppc9a.c | 2 +- arch/powerpc/platforms/86xx/gef_sbc310.c | 2 +- arch/powerpc/platforms/86xx/gef_sbc610.c | 2 +- arch/powerpc/platforms/cell/setup.c | 2 +- arch/powerpc/platforms/cell/smp.c | 6 ++--- arch/powerpc/platforms/chrp/pci.c | 2 +- arch/powerpc/platforms/chrp/smp.c | 4 +-- arch/powerpc/platforms/fsl_uli1575.c | 20 +++++++------- arch/powerpc/platforms/maple/pci.c | 4 +-- arch/powerpc/platforms/pasemi/gpio_mdio.c | 2 +- arch/powerpc/platforms/pasemi/pasemi.h | 4 +-- arch/powerpc/platforms/pasemi/setup.c | 4 +-- arch/powerpc/platforms/powermac/pci.c | 6 ++--- arch/powerpc/platforms/powermac/smp.c | 8 +++--- arch/powerpc/platforms/powernv/pci-ioda.c | 36 +++++++++++++------------- arch/powerpc/platforms/powernv/pci-p5ioc2.c | 2 +- arch/powerpc/platforms/powernv/pci.c | 9 +++---- arch/powerpc/platforms/powernv/smp.c | 2 +- arch/powerpc/platforms/ps3/repository.c | 2 +- arch/powerpc/platforms/pseries/eeh_dev.c | 4 +-- arch/powerpc/platforms/pseries/eeh_pe.c | 2 +- arch/powerpc/platforms/pseries/pci_dlpar.c | 2 +- arch/powerpc/platforms/pseries/smp.c | 6 ++--- arch/powerpc/platforms/wsp/scom_smp.c | 2 +- arch/powerpc/platforms/wsp/smp.c | 4 +-- arch/powerpc/platforms/wsp/wsp.h | 2 +- arch/powerpc/platforms/wsp/wsp_pci.c | 2 +- arch/powerpc/sysdev/bestcomm/bestcomm.c | 5 ++-- arch/powerpc/sysdev/fsl_85xx_l2ctlr.c | 2 +- arch/powerpc/sysdev/fsl_ifc.c | 4 +-- arch/powerpc/sysdev/fsl_lbc.c | 4 +-- arch/powerpc/sysdev/fsl_msi.c | 4 +-- arch/powerpc/sysdev/fsl_pci.c | 4 +-- arch/powerpc/sysdev/fsl_rio.c | 2 +- arch/powerpc/sysdev/mpic.c | 2 +- arch/powerpc/sysdev/mpic_msgr.c | 2 +- arch/powerpc/sysdev/mv64x60_pci.c | 2 +- arch/powerpc/sysdev/ppc4xx_msi.c | 2 +- 63 files changed, 144 insertions(+), 146 deletions(-)
arch/powerpc/include/asm/eeh.h +3 -3
@@ -183,7 +183,7 @@ static inline void eeh_unlock(void)#define EEH_MAX_ALLOWED_FREEZES 5typedef void *(*eeh_traverse_func )(void *data,void *flag); -int __devinit eeh_phb_pe_create (struct pci_controller *phb); +int eeh_phb_pe_create (struct pci_controller *phb);int eeh_add_to_parent_pe (struct eeh_dev *edev);int eeh_rmv_from_parent_pe (struct eeh_dev *edev,int purge_pe); void *eeh_pe_dev_traverse(struct eeh_pe *root,
@@ -191,8 +191,8 @@ void *eeh_pe_dev_traverse(struct eeh_pe *root,void eeh_pe_restore_bars (struct eeh_pe *pe);struct pci_bus *eeh_pe_bus_get (struct eeh_pe *pe); -void *__devinit eeh_dev_init (struct device_node *dn,void *data); -void __devinit eeh_dev_phb_init_dynamic (struct pci_controller *phb); +void *eeh_dev_init (struct device_node *dn,void *data); +void eeh_dev_phb_init_dynamic (struct pci_controller *phb);int __init eeh_ops_register (struct eeh_ops *ops); int __exit eeh_ops_unregister(const char *name); unsigned long eeh_check_failure(const volatile void __iomem *token,
arch/powerpc/include/asm/io-workarounds.h +1 -1
@@ -31,7 +31,7 @@ struct iowa_bus {void *private; }; -void __devinit iowa_register_bus (struct pci_controller *,struct ppc_pci_io *, +void iowa_register_bus (struct pci_controller *,struct ppc_pci_io *,int (*)(struct iowa_bus *,void *),void *);struct iowa_bus *iowa_mem_find_bus (const PCI_IO_ADDR );struct iowa_bus *iowa_pio_find_bus (unsigned long );
arch/powerpc/include/asm/parport.h +1 -1
@@ -12,7 +12,7 @@#include <asm/prom.h> -static int __devinit parport_pc_find_nonpci_ports (int autoirq,int autodma) +static int parport_pc_find_nonpci_ports (int autoirq,int autodma) {struct device_node *np;const u32 *prop;
arch/powerpc/include/asm/smp.h +2 -2
@@ -54,8 +54,8 @@ struct smp_ops_t {extern void smp_send_debugger_break (void );extern void start_secondary_resume (void ); -extern void __devinit smp_generic_give_timebase (void ); -extern void __devinit smp_generic_take_timebase (void ); +extern void smp_generic_give_timebase (void ); +extern void smp_generic_take_timebase (void ); DECLARE_PER_CPU(unsigned int, cpu_pvr);
arch/powerpc/include/asm/vio.h +1 -1
@@ -139,7 +139,7 @@ extern void vio_unregister_driver(struct vio_driver *drv);extern int vio_cmo_entitlement_update (size_t );extern void vio_cmo_set_dev_desired (struct vio_dev *viodev,size_t desired); -extern void __devinit vio_unregister_device (struct vio_dev *dev); +extern void vio_unregister_device (struct vio_dev *dev);extern int vio_h_cop_sync (struct vio_dev *vdev,struct vio_pfo_op *op);
arch/powerpc/kernel/io-workarounds.c +2 -2
@@ -146,7 +146,7 @@ static void __iomem *iowa_ioremap(phys_addr_t addr, unsigned long size, }/* Enable IO workaround */ -static void __devinit io_workaround_init (void ) +static void io_workaround_init (void ) {static int io_workaround_inited;
@@ -158,7 +158,7 @@ static void __devinit io_workaround_init(void) }/* Register new bus to support workaround */ -void __devinit iowa_register_bus (struct pci_controller *phb, +void iowa_register_bus (struct pci_controller *phb,struct ppc_pci_io *ops,int (*initfunc)(struct iowa_bus *,void *),void *data) {
arch/powerpc/kernel/isa-bridge.c +3 -3
@@ -41,7 +41,7 @@ EXPORT_SYMBOL_GPL(isa_bridge_pcidev);#define ISA_SPACE_MASK 0x1#define ISA_SPACE_IO 0x1 -static void __devinit pci_process_ISA_OF_ranges (struct device_node *isa_node, +static void pci_process_ISA_OF_ranges (struct device_node *isa_node,unsigned long phb_io_base_phys) {/* We should get some saner parsing here and remove these structs */
@@ -170,7 +170,7 @@ void __init isa_bridge_find_early(struct pci_controller *hose)* isa_bridge_find_late - Find and map the ISA IO space upon discovery of * a new ISA bridge */ -static void __devinit isa_bridge_find_late (struct pci_dev *pdev, +static void isa_bridge_find_late (struct pci_dev *pdev,struct device_node *devnode) {struct pci_controller *hose =pci_bus_to_host (pdev->bus);
@@ -215,7 +215,7 @@ static void isa_bridge_remove(void)/** * isa_bridge_notify - Get notified of PCI devices addition/removal */ -static int __devinit isa_bridge_notify (struct notifier_block *nb, +static int isa_bridge_notify (struct notifier_block *nb,unsigned long action,void *data) {struct device *dev = data;
arch/powerpc/kernel/of_platform.c +1 -1
@@ -37,7 +37,7 @@* lacking some bits needed here. */ -static int __devinit of_pci_phb_probe (struct platform_device *dev) +static int of_pci_phb_probe (struct platform_device *dev) {struct pci_controller *phb;
arch/powerpc/kernel/pci-common.c +11 -11
@@ -673,7 +673,7 @@ void pci_resource_to_user(const struct pci_dev *dev, int bar,* - Some 32 bits platforms such as 4xx can have physical space larger than * 32 bits so we need to use 64 bits values for the parsing */ -void __devinit pci_process_bridge_OF_ranges (struct pci_controller *hose, +void pci_process_bridge_OF_ranges (struct pci_controller *hose,struct device_node *dev,int primary) {
@@ -848,7 +848,7 @@ int pci_proc_domain(struct pci_bus *bus)/* This header fixup will do the resource fixup for all devices as they are * probed, but not for bridge ranges */ -static void __devinit pcibios_fixup_resources (struct pci_dev *dev) +static void pcibios_fixup_resources (struct pci_dev *dev) {struct pci_controller *hose =pci_bus_to_host (dev->bus);int i;
@@ -902,7 +902,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pcibios_fixup_resources);* things go more smoothly when it gets it right. It should covers cases such * as Apple "closed" bridge resources and bare-metal pSeries unassigned bridges */ -static int __devinit pcibios_uninitialized_bridge_resource (struct pci_bus *bus, +static int pcibios_uninitialized_bridge_resource (struct pci_bus *bus,struct resource *res) {struct pci_controller *hose =pci_bus_to_host (bus);
@@ -967,7 +967,7 @@ static int __devinit pcibios_uninitialized_bridge_resource(struct pci_bus *bus, }/* Fixup resources of a PCI<->PCI bridge */ -static void __devinit pcibios_fixup_bridge (struct pci_bus *bus) +static void pcibios_fixup_bridge (struct pci_bus *bus) {struct resource *res;int i;
@@ -1007,7 +1007,7 @@ static void __devinit pcibios_fixup_bridge(struct pci_bus *bus) } } -void __devinit pcibios_setup_bus_self (struct pci_bus *bus) +void pcibios_setup_bus_self (struct pci_bus *bus) {/* Fix up the bus resources for P2P bridges */ if (bus->self !=NULL )
@@ -1024,7 +1024,7 @@ void __devinit pcibios_setup_bus_self(struct pci_bus *bus) ppc_md.pci_dma_bus_setup (bus); } -void __devinit pcibios_setup_bus_devices (struct pci_bus *bus) +void pcibios_setup_bus_devices (struct pci_bus *bus) {struct pci_dev *dev;
@@ -1063,7 +1063,7 @@ void pcibios_set_master(struct pci_dev *dev)/* No special bus mastering setup handling */ } -void __devinit pcibios_fixup_bus (struct pci_bus *bus) +void pcibios_fixup_bus (struct pci_bus *bus) {/* When called from the generic PCI probe, read PCI<->PCI bridge * bases. This is -not- called when generating the PCI tree from
@@ -1080,7 +1080,7 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus) }EXPORT_SYMBOL (pcibios_fixup_bus); -void __devinit pci_fixup_cardbus (struct pci_bus *bus) +void pci_fixup_cardbus (struct pci_bus *bus) {/* Now fixup devices on that bus */ pcibios_setup_bus_devices (bus);
@@ -1264,7 +1264,7 @@ void pcibios_allocate_bus_resources(struct pci_bus *bus)pcibios_allocate_bus_resources (b); } -static inline void __devinit alloc_resource (struct pci_dev *dev,int idx) +static inline void alloc_resource (struct pci_dev *dev,int idx) {struct resource *pr, *r = &dev->resource[idx];
@@ -1500,7 +1500,7 @@ resource_size_t pcibios_io_space_offset(struct pci_controller *hose)return (unsigned long ) hose->io_base_virt - _IO_BASE; } -static void __devinit pcibios_setup_phb_resources (struct pci_controller *hose,struct list_head *resources) +static void pcibios_setup_phb_resources (struct pci_controller *hose,struct list_head *resources) {struct resource *res;int i;
@@ -1639,7 +1639,7 @@ struct device_node *pcibios_get_phb_of_node(struct pci_bus *bus)* pci_scan_phb - Given a pci_controller, setup and scan the PCI bus * @hose: Pointer to the PCI host controller instance structure */ -void __devinit pcibios_scan_phb (struct pci_controller *hose) +void pcibios_scan_phb (struct pci_controller *hose) {LIST_HEAD (resources);struct pci_bus *bus;
arch/powerpc/kernel/pci_32.c +1 -1
@@ -213,7 +213,7 @@ pci_create_OF_bus_map(void) } } -void __devinit pcibios_setup_phb_io_space (struct pci_controller *hose) +void pcibios_setup_phb_io_space (struct pci_controller *hose) {unsigned long io_offset;struct resource *res = &hose->io_resource;
arch/powerpc/kernel/pci_64.c +3 -3
@@ -122,7 +122,7 @@ int pcibios_unmap_io_space(struct pci_bus *bus) }EXPORT_SYMBOL_GPL (pcibios_unmap_io_space); -static int __devinit pcibios_map_phb_io_space (struct pci_controller *hose) +static int pcibios_map_phb_io_space (struct pci_controller *hose) {struct vm_struct *area;unsigned long phys_page;
@@ -173,7 +173,7 @@ static int __devinit pcibios_map_phb_io_space(struct pci_controller *hose)return 0 ; } -int __devinit pcibios_map_io_space (struct pci_bus *bus) +int pcibios_map_io_space (struct pci_bus *bus) {WARN_ON (bus ==NULL );
@@ -193,7 +193,7 @@ int __devinit pcibios_map_io_space(struct pci_bus *bus) }EXPORT_SYMBOL_GPL (pcibios_map_io_space); -void __devinit pcibios_setup_phb_io_space (struct pci_controller *hose) +void pcibios_setup_phb_io_space (struct pci_controller *hose) {pcibios_map_phb_io_space (hose); }
arch/powerpc/kernel/pci_dn.c +2 -2
@@ -36,7 +36,7 @@* Traverse_func that inits the PCI fields of the device node. * NOTE: this *must* be done before read/write config to the device. */ -void *__devinit update_dn_pci_info (struct device_node *dn,void *data) +void *update_dn_pci_info (struct device_node *dn,void *data) {struct pci_controller *phb = data; const int *type =
@@ -129,7 +129,7 @@ void *traverse_pci_devices(struct device_node *start, traverse_func pre,* subsystem is set up, before kmalloc is valid) and during the * dynamic lpar operation of adding a PHB to a running system. */ -void __devinit pci_devs_phb_init_dynamic (struct pci_controller *phb) +void pci_devs_phb_init_dynamic (struct pci_controller *phb) {struct device_node *dn = phb->dn;struct pci_dn *pdn;
arch/powerpc/kernel/pci_of_scan.c +4 -4
@@ -204,7 +204,7 @@ EXPORT_SYMBOL(of_create_pci_dev);* this routine in turn call of_scan_bus() recusively to scan for more child * devices. */ -void __devinit of_scan_pci_bridge (struct pci_dev *dev) +void of_scan_pci_bridge (struct pci_dev *dev) {struct device_node *node = dev->dev.of_node;struct pci_bus *bus;
@@ -299,7 +299,7 @@ EXPORT_SYMBOL(of_scan_pci_bridge);* @bus: pci_bus structure for the PCI bus * @rescan_existing: Flag indicating bus has already been set up */ -static void __devinit __of_scan_bus (struct device_node *node, +static void __of_scan_bus (struct device_node *node,struct pci_bus *bus,int rescan_existing) {struct device_node *child;
@@ -348,7 +348,7 @@ static void __devinit __of_scan_bus(struct device_node *node,* @node: device tree node for the PCI bus * @bus: pci_bus structure for the PCI bus */ -void __devinit of_scan_bus (struct device_node *node, +void of_scan_bus (struct device_node *node,struct pci_bus *bus) {__of_scan_bus (node, bus,0 );
@@ -363,7 +363,7 @@ EXPORT_SYMBOL_GPL(of_scan_bus);* Same as of_scan_bus, but for a pci_bus structure that has already been * setup. */ -void __devinit of_rescan_bus (struct device_node *node, +void of_rescan_bus (struct device_node *node,struct pci_bus *bus) {__of_scan_bus (node, bus,1 );
arch/powerpc/kernel/rtas_pci.c +2 -2
@@ -209,7 +209,7 @@ void __init init_pci_config_tokens (void) ibm_write_pci_config =rtas_token ("ibm,write-pci-config" ); } -unsigned long __devinit get_phb_buid (struct device_node *phb) +unsigned long get_phb_buid (struct device_node *phb) {struct resource r;
@@ -237,7 +237,7 @@ static int phb_set_bus_ranges(struct device_node *dev,return 0 ; } -int __devinit rtas_setup_phb (struct pci_controller *phb) +int rtas_setup_phb (struct pci_controller *phb) {struct device_node *dev = phb->dn;
arch/powerpc/kernel/smp-tbsync.c +4 -4
@@ -36,13 +36,13 @@ static struct {static volatile int running; -static void __devinit enter_contest (u64 mark,long add) +static void enter_contest (u64 mark,long add) {while (get_tb () < mark) tbsync->race_result = add; } -void __devinit smp_generic_take_timebase (void ) +void smp_generic_take_timebase (void ) {int cmd;u64 tb;
@@ -75,7 +75,7 @@ void __devinit smp_generic_take_timebase(void)local_irq_restore (flags); } -static int __devinit start_contest (int cmd,long offset,int num) +static int start_contest (int cmd,long offset,int num) {int i, score=0 ;u64 tb;
@@ -110,7 +110,7 @@ static int __devinit start_contest(int cmd, long offset, int num)return score; } -void __devinit smp_generic_give_timebase (void ) +void smp_generic_give_timebase (void ) {int i, score, score2, old, min=0 , max=5000 , offset=1000 ;
arch/powerpc/kernel/smp.c +4 -4
@@ -82,7 +82,7 @@ int smt_enabled_at_boot = 1;static void (*crash_ipi_function_ptr)(struct pt_regs *) =NULL ;#ifdef CONFIG_PPC64 -int __devinit smp_generic_kick_cpu (int nr) +int smp_generic_kick_cpu (int nr) {BUG_ON (nr <0 || nr >=NR_CPUS );
@@ -311,7 +311,7 @@ void smp_send_stop(void)struct thread_info *current_set[NR_CPUS ]; -static void __devinit smp_store_cpu_info (int id) +static void smp_store_cpu_info (int id) {per_cpu (cpu_pvr, id) =mfspr (SPRN_PVR );#ifdef CONFIG_PPC_FSL_BOOK3E
@@ -355,7 +355,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) max_cpus =1 ; } -void __devinit smp_prepare_boot_cpu (void ) +void smp_prepare_boot_cpu (void ) {BUG_ON (smp_processor_id () != boot_cpuid);#ifdef CONFIG_PPC64
@@ -610,7 +610,7 @@ static struct device_node *cpu_to_l2cache(int cpu) }/* Activate a secondary processor. */ -void __devinit start_secondary (void *unused) +void start_secondary (void *unused) {unsigned int cpu =smp_processor_id ();struct device_node *l2_cache;
arch/powerpc/kernel/vio.c +2 -2
@@ -1289,7 +1289,7 @@ void vio_unregister_driver(struct vio_driver *viodrv)EXPORT_SYMBOL (vio_unregister_driver);/* vio_dev refcount hit 0 */ -static void __devinit vio_dev_release (struct device *dev) +static void vio_dev_release (struct device *dev) {struct iommu_table *tbl =get_iommu_table_base (dev);
@@ -1545,7 +1545,7 @@ static struct device_attribute vio_dev_attrs[] = { __ATTR_NULL }; -void __devinit vio_unregister_device (struct vio_dev *viodev) +void vio_unregister_device (struct vio_dev *viodev) {device_unregister (&viodev->dev); }
arch/powerpc/platforms/44x/currituck.c +1 -1
@@ -46,7 +46,7 @@ static __initdata struct of_device_id ppc47x_of_bus[] = {/* The EEPROM is missing and the default values are bogus. This forces USB in * to EHCI mode */ -static void __devinit quirk_ppc_currituck_usb_fixup (struct pci_dev *dev) +static void quirk_ppc_currituck_usb_fixup (struct pci_dev *dev) {if (of_machine_is_compatible ("ibm,currituck" )) {pci_write_config_dword (dev,0xe0 ,0x0114231f );
arch/powerpc/platforms/44x/virtex_ml510.c +1 -1
@@ -5,7 +5,7 @@/** * ml510_ail_quirk */ -static void __devinit ml510_ali_quirk (struct pci_dev *dev) +static void ml510_ali_quirk (struct pci_dev *dev) {/* Enable the IDE controller */ pci_write_config_byte (dev,0x58 ,0x4c );
arch/powerpc/platforms/52xx/mpc52xx_gpt.c +3 -3
@@ -669,7 +669,7 @@ static struct miscdevice mpc52xx_wdt_miscdev = { .fops = &mpc52xx_wdt_fops, }; -static int __devinit mpc52xx_gpt_wdt_init (void ) +static int mpc52xx_gpt_wdt_init (void ) {int err;
@@ -704,7 +704,7 @@ static int mpc52xx_gpt_wdt_setup(struct mpc52xx_gpt_priv *gpt,#else -static int __devinit mpc52xx_gpt_wdt_init (void ) +static int mpc52xx_gpt_wdt_init (void ) {return 0 ; }
@@ -720,7 +720,7 @@ static inline int mpc52xx_gpt_wdt_setup(struct mpc52xx_gpt_priv *gpt,/* --------------------------------------------------------------------- * of_platform bus binding code */ -static int __devinit mpc52xx_gpt_probe (struct platform_device *ofdev) +static int mpc52xx_gpt_probe (struct platform_device *ofdev) {struct mpc52xx_gpt_priv *gpt;
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c +1 -1
@@ -470,7 +470,7 @@ void mpc52xx_lpbfifo_abort(struct mpc52xx_lpbfifo_request *req) }EXPORT_SYMBOL (mpc52xx_lpbfifo_abort); -static int __devinit mpc52xx_lpbfifo_probe (struct platform_device *op) +static int mpc52xx_lpbfifo_probe (struct platform_device *op) {struct resource res;int rc = -ENOMEM ;
arch/powerpc/platforms/82xx/ep8248e.c +1 -1
@@ -111,7 +111,7 @@ static struct mdiobb_ctrl ep8248e_mdio_ctrl = { .ops = &ep8248e_mdio_ops, }; -static int __devinit ep8248e_mdio_probe (struct platform_device *ofdev) +static int ep8248e_mdio_probe (struct platform_device *ofdev) {struct mii_bus *bus;struct resource res;
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c +1 -1
@@ -145,7 +145,7 @@ static int mcu_gpiochip_remove(struct mcu *mcu)return gpiochip_remove (&mcu->gc); } -static int __devinit mcu_probe (struct i2c_client *client, +static int mcu_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct mcu *mcu;
arch/powerpc/platforms/85xx/mpc85xx_cds.c +1 -1
@@ -154,7 +154,7 @@ static void __init mpc85xx_cds_pci_irq_fixup(struct pci_dev *dev) } } -static void __devinit skip_fake_bridge (struct pci_dev *dev) +static void skip_fake_bridge (struct pci_dev *dev) {/* Make it an error to skip the fake bridge * in pci_setup_device() in probe.c */
arch/powerpc/platforms/85xx/tqm85xx.c +1 -1
@@ -85,7 +85,7 @@ static void tqm85xx_show_cpuinfo(struct seq_file *m)seq_printf (m,"PLL setting\t: 0x%x\n" , ((phid1 >>24 ) &0x3f )); } -static void __devinit tqm85xx_ti1520_fixup (struct pci_dev *pdev) +static void tqm85xx_ti1520_fixup (struct pci_dev *pdev) {unsigned int val;
arch/powerpc/platforms/86xx/gef_ppc9a.c +1 -1
@@ -159,7 +159,7 @@ static void gef_ppc9a_show_cpuinfo(struct seq_file *m) gef_ppc9a_get_vme_is_syscon() ? "yes" : "no"); } -static void __devinit gef_ppc9a_nec_fixup (struct pci_dev *pdev) +static void gef_ppc9a_nec_fixup (struct pci_dev *pdev) {unsigned int val;
arch/powerpc/platforms/86xx/gef_sbc310.c +1 -1
@@ -146,7 +146,7 @@ static void gef_sbc310_show_cpuinfo(struct seq_file *m) } -static void __devinit gef_sbc310_nec_fixup (struct pci_dev *pdev) +static void gef_sbc310_nec_fixup (struct pci_dev *pdev) {unsigned int val;
arch/powerpc/platforms/86xx/gef_sbc610.c +1 -1
@@ -136,7 +136,7 @@ static void gef_sbc610_show_cpuinfo(struct seq_file *m)seq_printf (m,"SVR\t\t: 0x%x\n" , svid); } -static void __devinit gef_sbc610_nec_fixup (struct pci_dev *pdev) +static void gef_sbc610_nec_fixup (struct pci_dev *pdev) {unsigned int val;
arch/powerpc/platforms/cell/setup.c +1 -1
@@ -117,7 +117,7 @@ static void cell_fixup_pcie_rootcomplex(struct pci_dev *dev) }DECLARE_PCI_FIXUP_HEADER (PCI_ANY_ID ,PCI_ANY_ID , cell_fixup_pcie_rootcomplex); -static int __devinit cell_setup_phb (struct pci_controller *phb) +static int cell_setup_phb (struct pci_controller *phb) {const char *model;struct device_node *np;
arch/powerpc/platforms/cell/smp.c +3 -3
@@ -67,7 +67,7 @@ static cpumask_t of_spin_map;* 0 - failure * 1 - success */ -static inline int __devinit smp_startup_cpu (unsigned int lcpu) +static inline int smp_startup_cpu (unsigned int lcpu) {int status; unsigned long start_here = __pa((u32)*((unsigned long *)
@@ -108,7 +108,7 @@ static int __init smp_iic_probe(void)return cpumask_weight (cpu_possible_mask); } -static void __devinit smp_cell_setup_cpu (int cpu) +static void smp_cell_setup_cpu (int cpu) {if (cpu != boot_cpuid)iic_setup_cpu ();
@@ -119,7 +119,7 @@ static void __devinit smp_cell_setup_cpu(int cpu)mtspr (SPRN_DABRX ,DABRX_KERNEL |DABRX_USER ); } -static int __devinit smp_cell_kick_cpu (int nr) +static int smp_cell_kick_cpu (int nr) {BUG_ON (nr <0 || nr >=NR_CPUS );
arch/powerpc/platforms/chrp/pci.c +1 -1
@@ -323,7 +323,7 @@ chrp_find_bridges(void)* ATA controller to be set to fully native mode or bad things * will happen. */ -static void __devinit chrp_pci_fixup_winbond_ata (struct pci_dev *sl82c105) +static void chrp_pci_fixup_winbond_ata (struct pci_dev *sl82c105) {u8 progif;
arch/powerpc/platforms/chrp/smp.c +2 -2
@@ -30,7 +30,7 @@#include <asm/mpic.h> #include <asm/rtas.h> -static int __devinit smp_chrp_kick_cpu (int nr) +static int smp_chrp_kick_cpu (int nr) { *(unsigned long *)KERNELBASE = nr; asmvolatile ("dcbf 0,%0" ::"r" (KERNELBASE ):"memory" );
@@ -38,7 +38,7 @@ static int __devinit smp_chrp_kick_cpu(int nr)return 0 ; } -static void __devinit smp_chrp_setup_cpu (int cpu_nr) +static void smp_chrp_setup_cpu (int cpu_nr) {mpic_setup_this_cpu (); }
arch/powerpc/platforms/fsl_uli1575.c +10 -10
@@ -59,7 +59,7 @@ static inline bool is_quirk_valid(void) }/* Bridge */ -static void __devinit early_uli5249 (struct pci_dev *dev) +static void early_uli5249 (struct pci_dev *dev) {unsigned char temp;
@@ -82,7 +82,7 @@ static void __devinit early_uli5249(struct pci_dev *dev) } -static void __devinit quirk_uli1575 (struct pci_dev *dev) +static void quirk_uli1575 (struct pci_dev *dev) {int i;
@@ -139,7 +139,7 @@ static void __devinit quirk_uli1575(struct pci_dev *dev)pci_write_config_byte (dev,0x75 ,ULI_8259_IRQ15 ); } -static void __devinit quirk_final_uli1575 (struct pci_dev *dev) +static void quirk_final_uli1575 (struct pci_dev *dev) {/* Set i8259 interrupt trigger * IRQ 3: Level
@@ -175,7 +175,7 @@ static void __devinit quirk_final_uli1575(struct pci_dev *dev) }/* SATA */ -static void __devinit quirk_uli5288 (struct pci_dev *dev) +static void quirk_uli5288 (struct pci_dev *dev) {unsigned char c;unsigned int d;
@@ -200,7 +200,7 @@ static void __devinit quirk_uli5288(struct pci_dev *dev) }/* PATA */ -static void __devinit quirk_uli5229 (struct pci_dev *dev) +static void quirk_uli5229 (struct pci_dev *dev) {unsigned short temp;
@@ -216,7 +216,7 @@ static void __devinit quirk_uli5229(struct pci_dev *dev) }/* We have to do a dummy read on the P2P for the RTC to work, WTF */ -static void __devinit quirk_final_uli5249 (struct pci_dev *dev) +static void quirk_final_uli5249 (struct pci_dev *dev) {int i;u8 *dummy;
@@ -253,7 +253,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AL, 0x5249, quirk_final_uli5249);DECLARE_PCI_FIXUP_FINAL (PCI_VENDOR_ID_AL ,0x1575 , quirk_final_uli1575);DECLARE_PCI_FIXUP_RESUME (PCI_VENDOR_ID_AL ,0x5229 , quirk_uli5229); -static void __devinit hpcd_quirk_uli1575 (struct pci_dev *dev) +static void hpcd_quirk_uli1575 (struct pci_dev *dev) {u32 temp32;
@@ -269,7 +269,7 @@ static void __devinit hpcd_quirk_uli1575(struct pci_dev *dev)pci_write_config_dword (dev,0x90 , (temp32 |1 <<22 )); } -static void __devinit hpcd_quirk_uli5288 (struct pci_dev *dev) +static void hpcd_quirk_uli5288 (struct pci_dev *dev) {unsigned char c;
@@ -295,7 +295,7 @@ static void __devinit hpcd_quirk_uli5288(struct pci_dev *dev)* IRQ14 is a sideband interrupt from IDE device to CPU and we use this * as the interrupt for IDE device. */ -static void __devinit hpcd_quirk_uli5229 (struct pci_dev *dev) +static void hpcd_quirk_uli5229 (struct pci_dev *dev) {unsigned char c;
@@ -317,7 +317,7 @@ static void __devinit hpcd_quirk_uli5229(struct pci_dev *dev)* bug by re-assigning a correct irq to 5288. * */ -static void __devinit hpcd_final_uli5288 (struct pci_dev *dev) +static void hpcd_final_uli5288 (struct pci_dev *dev) {struct pci_controller *hose =pci_bus_to_host (dev->bus);struct device_node *hosenode = hose ? hose->dn :NULL ;
arch/powerpc/platforms/maple/pci.c +2 -2
@@ -543,7 +543,7 @@ static int __init maple_add_bridge(struct device_node *dev) } -void __devinit maple_pci_irq_fixup (struct pci_dev *dev) +void maple_pci_irq_fixup (struct pci_dev *dev) {DBG (" -> maple_pci_irq_fixup\n" );
@@ -648,7 +648,7 @@ int maple_pci_get_legacy_ide_irq(struct pci_dev *pdev, int channel)return irq; } -static void __devinit quirk_ipr_msi (struct pci_dev *dev) +static void quirk_ipr_msi (struct pci_dev *dev) {/* Something prevents MSIs from the IPR from working on Bimini, * and the driver has no smarts to recover. So disable MSI
arch/powerpc/platforms/pasemi/gpio_mdio.c +1 -1
@@ -216,7 +216,7 @@ static int gpio_mdio_reset(struct mii_bus *bus) } -static int __devinit gpio_mdio_probe (struct platform_device *ofdev) +static int gpio_mdio_probe (struct platform_device *ofdev) {struct device *dev = &ofdev->dev;struct device_node *np = ofdev->dev.of_node;
arch/powerpc/platforms/pasemi/pasemi.h +2 -2
@@ -3,8 +3,8 @@extern unsigned long pas_get_boot_time (void );extern void pas_pci_init (void ); -extern void __devinit pas_pci_irq_fixup (struct pci_dev *dev); -extern void __devinit pas_pci_dma_dev_setup (struct pci_dev *dev); +extern void pas_pci_irq_fixup (struct pci_dev *dev); +extern void pas_pci_dma_dev_setup (struct pci_dev *dev);extern void __iomem *pasemi_pci_getcfgaddr (struct pci_dev *dev,int offset);
arch/powerpc/platforms/pasemi/setup.c +2 -2
@@ -76,7 +76,7 @@ static void pas_restart(char *cmd)static arch_spinlock_t timebase_lock;static unsigned long timebase; -static void __devinit pas_give_timebase (void ) +static void pas_give_timebase (void ) {unsigned long flags;
@@ -94,7 +94,7 @@ static void __devinit pas_give_timebase(void)local_irq_restore (flags); } -static void __devinit pas_take_timebase (void ) +static void pas_take_timebase (void ) {while (!timebase)smp_rmb ();
arch/powerpc/platforms/powermac/pci.c +3 -3
@@ -561,7 +561,7 @@ static struct pci_ops u4_pcie_pci_ops = .write = u4_pcie_write_config, }; -static void __devinit pmac_pci_fixup_u4_of_node (struct pci_dev *dev) +static void pmac_pci_fixup_u4_of_node (struct pci_dev *dev) {/* Apple's device-tree "hides" the root complex virtual P2P bridge * on U4. However, Linux sees it, causing the PCI <-> OF matching
@@ -988,7 +988,7 @@ static int __init pmac_add_bridge(struct device_node *dev)return 0 ; } -void __devinit pmac_pci_irq_fixup (struct pci_dev *dev) +void pmac_pci_irq_fixup (struct pci_dev *dev) {#ifdef CONFIG_PPC32 /* Fixup interrupt for the modem/ethernet combo controller.
@@ -1138,7 +1138,7 @@ int pmac_pci_enable_device_hook(struct pci_dev *dev)return 0 ; } -void __devinit pmac_pci_fixup_ohci (struct pci_dev *dev) +void pmac_pci_fixup_ohci (struct pci_dev *dev) {struct device_node *node =pci_device_to_OF_node (dev);
arch/powerpc/platforms/powermac/smp.c +4 -4
@@ -484,7 +484,7 @@ static void smp_core99_give_timebase(void) } -static void __devinit smp_core99_take_timebase (void ) +static void smp_core99_take_timebase (void ) {unsigned long flags;
@@ -669,7 +669,7 @@ static void smp_core99_gpio_tb_freeze(int freeze)volatile static long int core99_l2_cache;volatile static long int core99_l3_cache; -static void __devinit core99_init_caches (int cpu) +static void core99_init_caches (int cpu) {#ifndef CONFIG_PPC64 if (!cpu_has_feature (CPU_FTR_L2CR ))
@@ -801,7 +801,7 @@ static int __init smp_core99_probe(void)return ncpus; } -static int __devinit smp_core99_kick_cpu (int nr) +static int smp_core99_kick_cpu (int nr) {unsigned int save_vector;unsigned long target, flags;
@@ -844,7 +844,7 @@ static int __devinit smp_core99_kick_cpu(int nr)return 0 ; } -static void __devinit smp_core99_setup_cpu (int cpu_nr) +static void smp_core99_setup_cpu (int cpu_nr) {/* Setup L2/L3 */ if (cpu_nr !=0 )
arch/powerpc/platforms/powernv/pci-ioda.c +18 -18
@@ -76,7 +76,7 @@ static struct pci_dn *pnv_ioda_get_pdn(struct pci_dev *dev)return PCI_DN (np); } -static int __devinit pnv_ioda_alloc_pe (struct pnv_phb *phb) +static int pnv_ioda_alloc_pe (struct pnv_phb *phb) {unsigned long pe;
@@ -91,7 +91,7 @@ static int __devinit pnv_ioda_alloc_pe(struct pnv_phb *phb)return pe; } -static void __devinit pnv_ioda_free_pe (struct pnv_phb *phb,int pe) +static void pnv_ioda_free_pe (struct pnv_phb *phb,int pe) {WARN_ON (phb->ioda.pe_array[pe].pdev);
@@ -103,7 +103,7 @@ static void __devinit pnv_ioda_free_pe(struct pnv_phb *phb, int pe)* but in the meantime, we need to protect them to avoid warnings */ #ifdef CONFIG_PCI_MSI -static struct pnv_ioda_pe *__devinit pnv_ioda_get_pe (struct pci_dev *dev) +static struct pnv_ioda_pe *pnv_ioda_get_pe (struct pci_dev *dev) {struct pci_controller *hose =pci_bus_to_host (dev->bus);struct pnv_phb *phb = hose->private_data;
@@ -117,7 +117,7 @@ static struct pnv_ioda_pe * __devinit pnv_ioda_get_pe(struct pci_dev *dev) }#endif /* CONFIG_PCI_MSI */ -static int __devinit pnv_ioda_configure_pe (struct pnv_phb *phb, +static int pnv_ioda_configure_pe (struct pnv_phb *phb,struct pnv_ioda_pe *pe) {struct pci_dev *parent;
@@ -207,7 +207,7 @@ static int __devinit pnv_ioda_configure_pe(struct pnv_phb *phb,return 0 ; } -static void __devinit pnv_ioda_link_pe_by_weight (struct pnv_phb *phb, +static void pnv_ioda_link_pe_by_weight (struct pnv_phb *phb,struct pnv_ioda_pe *pe) {struct pnv_ioda_pe *lpe;
@@ -246,7 +246,7 @@ static unsigned int pnv_ioda_dma_weight(struct pci_dev *dev) }#if 0 -static struct pnv_ioda_pe *__devinit pnv_ioda_setup_dev_PE (struct pci_dev *dev) +static struct pnv_ioda_pe *pnv_ioda_setup_dev_PE (struct pci_dev *dev) {struct pci_controller *hose =pci_bus_to_host (dev->bus);struct pnv_phb *phb = hose->private_data;
@@ -343,7 +343,7 @@ static void pnv_ioda_setup_same_PE(struct pci_bus *bus, struct pnv_ioda_pe *pe)* subordinate PCI devices and buses. The second type of PE is normally * orgiriated by PCIe-to-PCI bridge or PLX switch downstream ports. */ -static void __devinit pnv_ioda_setup_bus_PE (struct pci_bus *bus,int all) +static void pnv_ioda_setup_bus_PE (struct pci_bus *bus,int all) {struct pci_controller *hose =pci_bus_to_host (bus);struct pnv_phb *phb = hose->private_data;
@@ -399,7 +399,7 @@ static void __devinit pnv_ioda_setup_bus_PE(struct pci_bus *bus, int all)pnv_ioda_link_pe_by_weight (phb, pe); } -static void __devinit pnv_ioda_setup_PEs (struct pci_bus *bus) +static void pnv_ioda_setup_PEs (struct pci_bus *bus) {struct pci_dev *dev;
@@ -423,7 +423,7 @@ static void __devinit pnv_ioda_setup_PEs(struct pci_bus *bus)* port to PE# here. The game rule here is expected to be changed * as soon as we can detected PLX bridge correctly. */ -static void __devinit pnv_pci_ioda_setup_PEs (void ) +static void pnv_pci_ioda_setup_PEs (void ) {struct pci_controller *hose, *tmp;
@@ -432,13 +432,13 @@ static void __devinit pnv_pci_ioda_setup_PEs(void) } } -static void __devinit pnv_pci_ioda_dma_dev_setup (struct pnv_phb *phb, +static void pnv_pci_ioda_dma_dev_setup (struct pnv_phb *phb,struct pci_dev *dev) {/* We delay DMA setup after we have assigned all PE# */ } -static void __devinit pnv_ioda_setup_bus_dma (struct pnv_ioda_pe *pe, +static void pnv_ioda_setup_bus_dma (struct pnv_ioda_pe *pe,struct pci_bus *bus) {struct pci_dev *dev;
@@ -450,7 +450,7 @@ static void __devinit pnv_ioda_setup_bus_dma(struct pnv_ioda_pe *pe, } } -static void __devinit pnv_pci_ioda_setup_dma_pe (struct pnv_phb *phb, +static void pnv_pci_ioda_setup_dma_pe (struct pnv_phb *phb,struct pnv_ioda_pe *pe,unsigned int base,unsigned int segs)
@@ -541,7 +541,7 @@ static void __devinit pnv_pci_ioda_setup_dma_pe(struct pnv_phb *phb,__free_pages (tce_mem,get_order (TCE32_TABLE_SIZE * segs)); } -static void __devinit pnv_ioda_setup_dma (struct pnv_phb *phb) +static void pnv_ioda_setup_dma (struct pnv_phb *phb) {struct pci_controller *hose = phb->hose;unsigned int residual, remaining, segs, tw, base;
@@ -684,7 +684,7 @@ static void pnv_pci_init_ioda_msis(struct pnv_phb *phb) { }* to bottom style. So the the I/O or MMIO segment assigned to * parent PE could be overrided by its child PEs if necessary. */ -static void __devinit pnv_ioda_setup_pe_seg (struct pci_controller *hose, +static void pnv_ioda_setup_pe_seg (struct pci_controller *hose,struct pnv_ioda_pe *pe) {struct pnv_phb *phb = hose->private_data;
@@ -753,7 +753,7 @@ static void __devinit pnv_ioda_setup_pe_seg(struct pci_controller *hose, } } -static void __devinit pnv_pci_ioda_setup_seg (void ) +static void pnv_pci_ioda_setup_seg (void ) {struct pci_controller *tmp, *hose;struct pnv_phb *phb;
@@ -767,7 +767,7 @@ static void __devinit pnv_pci_ioda_setup_seg(void) } } -static void __devinit pnv_pci_ioda_setup_DMA (void ) +static void pnv_pci_ioda_setup_DMA (void ) {struct pci_controller *hose, *tmp;struct pnv_phb *phb;
@@ -781,7 +781,7 @@ static void __devinit pnv_pci_ioda_setup_DMA(void) } } -static void __devinit pnv_pci_ioda_fixup (void ) +static void pnv_pci_ioda_fixup (void ) {pnv_pci_ioda_setup_PEs ();pnv_pci_ioda_setup_seg ();
@@ -829,7 +829,7 @@ static resource_size_t pnv_pci_window_alignment(struct pci_bus *bus,/* Prevent enabling devices for which we couldn't properly * assign a PE */ -static int __devinit pnv_pci_enable_device_hook (struct pci_dev *dev) +static int pnv_pci_enable_device_hook (struct pci_dev *dev) {struct pci_controller *hose =pci_bus_to_host (dev->bus);struct pnv_phb *phb = hose->private_data;
arch/powerpc/platforms/powernv/pci-p5ioc2.c +1 -1
@@ -84,7 +84,7 @@ static void pnv_pci_init_p5ioc2_msis(struct pnv_phb *phb)static void pnv_pci_init_p5ioc2_msis (struct pnv_phb *phb) { }#endif /* CONFIG_PCI_MSI */ -static void __devinit pnv_pci_p5ioc2_dma_dev_setup (struct pnv_phb *phb, +static void pnv_pci_p5ioc2_dma_dev_setup (struct pnv_phb *phb,struct pci_dev *pdev) {if (phb->p5ioc2.iommu_table.it_map ==NULL )
arch/powerpc/platforms/powernv/pci.c +4 -5
@@ -464,8 +464,7 @@ void pnv_pci_setup_iommu_table(struct iommu_table *tbl, tbl->it_type =TCE_PCI ; } -static struct iommu_table *__devinit -pnv_pci_setup_bml_iommu (struct pci_controller *hose) +static struct iommu_table *pnv_pci_setup_bml_iommu (struct pci_controller *hose) {struct iommu_table *tbl;const __be64 *basep, *swinvp;
@@ -496,7 +495,7 @@ pnv_pci_setup_bml_iommu(struct pci_controller *hose)return tbl; } -static void __devinit pnv_pci_dma_fallback_setup (struct pci_controller *hose, +static void pnv_pci_dma_fallback_setup (struct pci_controller *hose,struct pci_dev *pdev) {struct device_node *np =pci_bus_to_OF_node (hose->bus);
@@ -512,7 +511,7 @@ static void __devinit pnv_pci_dma_fallback_setup(struct pci_controller *hose,set_iommu_table_base (&pdev->dev, pdn->iommu_table); } -static void __devinit pnv_pci_dma_dev_setup (struct pci_dev *pdev) +static void pnv_pci_dma_dev_setup (struct pci_dev *pdev) {struct pci_controller *hose =pci_bus_to_host (pdev->bus);struct pnv_phb *phb = hose->private_data;
@@ -527,7 +526,7 @@ static void __devinit pnv_pci_dma_dev_setup(struct pci_dev *pdev) }/* Fixup wrong class code in p7ioc root complex */ -static void __devinit pnv_p7ioc_rc_quirk (struct pci_dev *dev) +static void pnv_p7ioc_rc_quirk (struct pci_dev *dev) { dev->class =PCI_CLASS_BRIDGE_PCI <<8 ; }
arch/powerpc/platforms/powernv/smp.c +1 -1
@@ -62,7 +62,7 @@ static int pnv_smp_cpu_bootable(unsigned int nr)return 1 ; } -int __devinit pnv_smp_kick_cpu (int nr) +int pnv_smp_kick_cpu (int nr) {unsigned int pcpu =get_hard_smp_processor_id (nr); unsigned long start_here = __pa(*((unsigned long *)
arch/powerpc/platforms/ps3/repository.c +1 -1
@@ -437,7 +437,7 @@ found_dev:return 0 ; } -int __devinit ps3_repository_find_devices (enum ps3_bus_type bus_type, +int ps3_repository_find_devices (enum ps3_bus_type bus_type,int (*callback)(const struct ps3_repository_device *repo)) {int result =0 ;
arch/powerpc/platforms/pseries/eeh_dev.c +2 -2
@@ -49,7 +49,7 @@* It will create EEH device according to the given OF node. The function * might be called by PCI emunation, DR, PHB hotplug. */ -void *__devinit eeh_dev_init (struct device_node *dn,void *data) +void *eeh_dev_init (struct device_node *dn,void *data) {struct pci_controller *phb = data;struct eeh_dev *edev;
@@ -77,7 +77,7 @@ void * __devinit eeh_dev_init(struct device_node *dn, void *data)* Scan the PHB OF node and its child association, then create the * EEH devices accordingly */ -void __devinit eeh_dev_phb_init_dynamic (struct pci_controller *phb) +void eeh_dev_phb_init_dynamic (struct pci_controller *phb) {struct device_node *dn = phb->dn;
arch/powerpc/platforms/pseries/eeh_pe.c +1 -1
@@ -66,7 +66,7 @@ static struct eeh_pe *eeh_pe_alloc(struct pci_controller *phb, int type)* The function should be called while the PHB is detected during * system boot or PCI hotplug in order to create PHB PE. */ -int __devinit eeh_phb_pe_create (struct pci_controller *phb) +int eeh_phb_pe_create (struct pci_controller *phb) {struct eeh_pe *pe;
arch/powerpc/platforms/pseries/pci_dlpar.c +1 -1
@@ -149,7 +149,7 @@ void pcibios_add_pci_devices(struct pci_bus * bus) }EXPORT_SYMBOL_GPL (pcibios_add_pci_devices); -struct pci_controller *__devinit init_phb_dynamic (struct device_node *dn) +struct pci_controller *init_phb_dynamic (struct device_node *dn) {struct pci_controller *phb;
arch/powerpc/platforms/pseries/smp.c +3 -3
@@ -87,7 +87,7 @@ int smp_query_cpu_stopped(unsigned int pcpu)* 0 - failure * 1 - success */ -static inline int __devinit smp_startup_cpu (unsigned int lcpu) +static inline int smp_startup_cpu (unsigned int lcpu) {int status; unsigned long start_here = __pa((u32)*((unsigned long *)
@@ -133,7 +133,7 @@ out:return 1 ; } -static void __devinit smp_xics_setup_cpu (int cpu) +static void smp_xics_setup_cpu (int cpu) {if (cpu != boot_cpuid)xics_setup_cpu ();
@@ -148,7 +148,7 @@ static void __devinit smp_xics_setup_cpu(int cpu)#endif } -static int __devinit smp_pSeries_kick_cpu (int nr) +static int smp_pSeries_kick_cpu (int nr) {BUG_ON (nr <0 || nr >=NR_CPUS );
arch/powerpc/platforms/wsp/scom_smp.c +1 -1
@@ -337,7 +337,7 @@ scom_fail:return rc; } -int __devinit a2_scom_startup_cpu (unsigned int lcpu,int thr_idx, +int a2_scom_startup_cpu (unsigned int lcpu,int thr_idx,struct device_node *np) {u64 init_iar, init_msr, init_ccr2;
arch/powerpc/platforms/wsp/smp.c +2 -2
@@ -23,7 +23,7 @@#include "ics.h" #include "wsp.h" -static void __devinit smp_a2_setup_cpu (int cpu) +static void smp_a2_setup_cpu (int cpu) {doorbell_setup_this_cpu ();
@@ -31,7 +31,7 @@ static void __devinit smp_a2_setup_cpu(int cpu)xics_setup_cpu (); } -int __devinit smp_a2_kick_cpu (int nr) +int smp_a2_kick_cpu (int nr) {const char *enable_method;struct device_node *np;
arch/powerpc/platforms/wsp/wsp.h +1 -1
@@ -18,7 +18,7 @@ extern void a2_setup_smp(void);extern int a2_scom_startup_cpu (unsigned int lcpu,int thr_idx,struct device_node *np);extern int smp_a2_cpu_bootable (unsigned int nr); -extern int __devinit smp_a2_kick_cpu (int nr); +extern int smp_a2_kick_cpu (int nr);extern void opb_pic_init (void );
arch/powerpc/platforms/wsp/wsp_pci.c +1 -1
@@ -402,7 +402,7 @@ static struct wsp_dma_table *wsp_pci_create_dma32_table(struct wsp_phb *phb,return ERR_PTR (-ENOMEM ); } -static void __devinit wsp_pci_dma_dev_setup (struct pci_dev *pdev) +static void wsp_pci_dma_dev_setup (struct pci_dev *pdev) {struct dev_archdata *archdata = &pdev->dev.archdata;struct pci_controller *hose =pci_bus_to_host (pdev->bus);
arch/powerpc/sysdev/bestcomm/bestcomm.c +2 -3
@@ -273,8 +273,7 @@ static u32 fdt_ops[] = { }; -static int __devinit -bcom_engine_init (void ) +static int bcom_engine_init (void ) {int task;phys_addr_t tdt_pa, ctx_pa, var_pa, fdt_pa;
@@ -365,7 +364,7 @@ bcom_engine_cleanup(void)/* OF platform driver */ /* ======================================================================== */ -static int __devinit mpc52xx_bcom_probe (struct platform_device *op) +static int mpc52xx_bcom_probe (struct platform_device *op) {struct device_node *ofn_sram;struct resource res_bcom;
arch/powerpc/sysdev/fsl_85xx_l2ctlr.c +1 -1
@@ -69,7 +69,7 @@ static int __init get_offset_from_cmdline(char *str)__setup ("cache-sram-size=" , get_size_from_cmdline);__setup ("cache-sram-offset=" , get_offset_from_cmdline); -static int __devinit mpc85xx_l2ctlr_of_probe (struct platform_device *dev) +static int mpc85xx_l2ctlr_of_probe (struct platform_device *dev) {long rval;unsigned int rem;
arch/powerpc/sysdev/fsl_ifc.c +2 -2
@@ -73,7 +73,7 @@ int fsl_ifc_find(phys_addr_t addr_base) }EXPORT_SYMBOL (fsl_ifc_find); -static int __devinit fsl_ifc_ctrl_init (struct fsl_ifc_ctrl *ctrl) +static int fsl_ifc_ctrl_init (struct fsl_ifc_ctrl *ctrl) {struct fsl_ifc_regs __iomem *ifc = ctrl->regs;
@@ -211,7 +211,7 @@ static irqreturn_t fsl_ifc_ctrl_irq(int irqno, void *data)* resources for the NAND banks themselves are allocated * in the chip probe function. */ -static int __devinit fsl_ifc_ctrl_probe (struct platform_device *dev) +static int fsl_ifc_ctrl_probe (struct platform_device *dev) {int ret =0 ;
arch/powerpc/sysdev/fsl_lbc.c +2 -2
@@ -185,7 +185,7 @@ int fsl_upm_run_pattern(struct fsl_upm *upm, void __iomem *io_base, u32 mar) }EXPORT_SYMBOL (fsl_upm_run_pattern); -static int __devinit fsl_lbc_ctrl_init (struct fsl_lbc_ctrl *ctrl, +static int fsl_lbc_ctrl_init (struct fsl_lbc_ctrl *ctrl,struct device_node *node) {struct fsl_lbc_regs __iomem *lbc = ctrl->regs;
@@ -273,7 +273,7 @@ static irqreturn_t fsl_lbc_ctrl_irq(int irqno, void *data)* in the chip probe function. */ -static int __devinit fsl_lbc_ctrl_probe (struct platform_device *dev) +static int fsl_lbc_ctrl_probe (struct platform_device *dev) {int ret;
arch/powerpc/sysdev/fsl_msi.c +2 -2
@@ -333,7 +333,7 @@ static int fsl_of_msi_remove(struct platform_device *ofdev)return 0 ; } -static int __devinit fsl_msi_setup_hwirq (struct fsl_msi *msi, +static int fsl_msi_setup_hwirq (struct fsl_msi *msi,struct platform_device *dev,int offset,int irq_index) {
@@ -363,7 +363,7 @@ static int __devinit fsl_msi_setup_hwirq(struct fsl_msi *msi, }static const struct of_device_id fsl_of_msi_ids[]; -static int __devinit fsl_of_msi_probe (struct platform_device *dev) +static int fsl_of_msi_probe (struct platform_device *dev) {const struct of_device_id *match;struct fsl_msi *msi;
arch/powerpc/sysdev/fsl_pci.c +2 -2
@@ -36,7 +36,7 @@static int fsl_pcie_bus_fixup, is_mpc83xx_pci; -static void __devinit quirk_fsl_pcie_header (struct pci_dev *dev) +static void quirk_fsl_pcie_header (struct pci_dev *dev) {u8 hdr_type;
@@ -871,7 +871,7 @@ void fsl_pci_assign_primary(void) } } -static int __devinit fsl_pci_probe (struct platform_device *pdev) +static int fsl_pci_probe (struct platform_device *pdev) {int ret;struct device_node *node;
arch/powerpc/sysdev/fsl_rio.c +1 -1
@@ -644,7 +644,7 @@ err_rio_regs:/* The probe function for RapidIO peer-to-peer network. */ -static int __devinit fsl_of_rio_rpn_probe (struct platform_device *dev) +static int fsl_of_rio_rpn_probe (struct platform_device *dev) {printk (KERN_INFO "Setting up RapidIO peer-to-peer network %s\n" , dev->dev.of_node->full_name);
arch/powerpc/sysdev/mpic.c +1 -1
@@ -1864,7 +1864,7 @@ int __init smp_mpic_probe(void)return nr_cpus; } -void __devinit smp_mpic_setup_cpu (int cpu) +void smp_mpic_setup_cpu (int cpu) {mpic_setup_this_cpu (); }
arch/powerpc/sysdev/mpic_msgr.c +1 -1
@@ -160,7 +160,7 @@ static int mpic_msgr_block_number(struct device_node *node)/* The probe function for a single message register block. */ -static __devinit int mpic_msgr_probe (struct platform_device *dev) +static int mpic_msgr_probe (struct platform_device *dev) {void __iomem *msgr_block_addr;int block_number;
arch/powerpc/sysdev/mv64x60_pci.c +1 -1
@@ -104,7 +104,7 @@ subsys_initcall(mv64x60_sysfs_init);#endif /* CONFIG_SYSFS */ -static void __devinit mv64x60_pci_fixup_early (struct pci_dev *dev) +static void mv64x60_pci_fixup_early (struct pci_dev *dev) {/* * Set the host bridge hdr_type to an invalid value so that
arch/powerpc/sysdev/ppc4xx_msi.c +1 -1
@@ -220,7 +220,7 @@ static int ppc4xx_of_msi_remove(struct platform_device *dev)return 0 ; } -static int __devinit ppc4xx_msi_probe (struct platform_device *dev) +static int ppc4xx_msi_probe (struct platform_device *dev) {struct ppc4xx_msi *msi;struct resource res;
Signature · 1 line
1.8.0
PATCH 284/493 arm64: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- arch/arm64/kernel/perf_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kernel/perf_event.c +1 -1
@@ -1221,7 +1221,7 @@ static struct of_device_id armpmu_of_device_ids[] = { {}, }; -static int __devinit armpmu_device_probe (struct platform_device *pdev) +static int armpmu_device_probe (struct platform_device *pdev) {if (!cpu_pmu)return -ENODEV ;
Signature · 1 line
1.8.0
Catalin Marinas
maintainerPATCH 284/493 arm64: remove use of __devinit
Quoted 6 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Catalin Marinas <[email protected]>Cc linux-arm-kernel at lists.infradead.org
PATCH 286/493 m68k: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- arch/m68k/include/asm/parport.h | 4 ++-- arch/m68k/kernel/pcibios.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
arch/m68k/include/asm/parport.h +2 -2
@@ -15,8 +15,8 @@#define outsl (port,buf,len) isa_outsb(port,buf,(len)<<2)/* no dma, or IRQ autoprobing */ -static int __devinit parport_pc_find_isa_ports (int autoirq,int autodma); -static int __devinit parport_pc_find_nonpci_ports (int autoirq,int autodma) +static int parport_pc_find_isa_ports (int autoirq,int autodma); +static int parport_pc_find_nonpci_ports (int autoirq,int autodma) {if (! (MACH_IS_Q40 ))return 0 ;/* count=0 */
arch/m68k/kernel/pcibios.c +2 -2
@@ -87,7 +87,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)return 0 ; } -void __devinit pcibios_fixup_bus (struct pci_bus *bus) +void pcibios_fixup_bus (struct pci_bus *bus) {struct pci_dev *dev;
@@ -97,7 +97,7 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus) } } -char __devinit *pcibios_setup (char *str) +char *pcibios_setup (char *str) {return str; }
Signature · 1 line
1.8.0
PATCH 289/493 docbook: remove discussion of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option and __devinit will go away as an attribute.
--- Documentation/DocBook/media/v4l/driver.xml | 2 +- Documentation/DocBook/writing-an-alsa-driver.tmpl | 22 ++++++++-------------- 2 files changed, 9 insertions(+), 15 deletions(-)
Documentation/DocBook/media/v4l/driver.xml +1 -1
@@ -124,7 +124,7 @@ my_remove (struct pci_dev * pci_dev) /* Describe me. */ } -static int __devinit +static int my_probe (struct pci_dev * pci_dev, const struct pci_device_id * pci_id) {
Documentation/DocBook/writing-an-alsa-driver.tmpl +8 -14
@@ -433,7 +433,7 @@ /* chip-specific constructor * (see "Management of Cards and Components") */ - static int __devinit snd_mychip_create(struct snd_card *card, + static int snd_mychip_create(struct snd_card *card, struct pci_dev *pci, struct mychip **rchip) {
@@ -475,7 +475,7 @@ } /* constructor -- see "Constructor" sub-section */ - static int __devinit snd_mychip_probe(struct pci_dev *pci, + static int snd_mychip_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) { static int dev;
@@ -541,11 +541,6 @@ <title>Constructor</title> <para> The real constructor of PCI drivers is the <function>probe</function> callback. - The <function>probe</function> callback and other component-constructors which are called - from the <function>probe</function> callback should be defined with - the <parameter>__devinit</parameter> prefix. You - cannot use the <parameter>__init</parameter> prefix for them, - because any PCI device could be a hotplug device. </para> <para>
@@ -1120,7 +1115,7 @@ } /* chip-specific constructor */ - static int __devinit snd_mychip_create(struct snd_card *card, + static int snd_mychip_create(struct snd_card *card, struct pci_dev *pci, struct mychip **rchip) {
@@ -1662,7 +1657,6 @@ Note that these module entries are tagged with <parameter>__init</parameter> and <parameter>__exit</parameter> prefixes, not - <parameter>__devinit</parameter> nor <parameter>__devexit</parameter>. </para>
@@ -1914,7 +1908,7 @@ */ /* create a pcm device */ - static int __devinit snd_mychip_new_pcm(struct mychip *chip) + static int snd_mychip_new_pcm(struct mychip *chip) { struct snd_pcm *pcm; int err;
@@ -1953,7 +1947,7 @@ <informalexample> <programlisting> <![CDATA[ - static int __devinit snd_mychip_new_pcm(struct mychip *chip) + static int snd_mychip_new_pcm(struct mychip *chip) { struct snd_pcm *pcm; int err;
@@ -2120,7 +2114,7 @@ .... } - static int __devinit snd_mychip_new_pcm(struct mychip *chip) + static int snd_mychip_new_pcm(struct mychip *chip) { struct snd_pcm *pcm; ....
@@ -5757,7 +5751,7 @@ struct _snd_pcm_runtime { <informalexample> <programlisting> <![CDATA[ - static int __devinit snd_mychip_probe(struct pci_dev *pci, + static int snd_mychip_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) { ....
@@ -5783,7 +5777,7 @@ struct _snd_pcm_runtime { <informalexample> <programlisting> <![CDATA[ - static int __devinit snd_mychip_probe(struct pci_dev *pci, + static int snd_mychip_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) { ....
Signature · 1 line
1.8.0
PATCH 291/493 asm-generic: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- include/asm-generic/parport.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/asm-generic/parport.h +2 -2
@@ -10,8 +10,8 @@* to devices on the PCI bus. */ -static int __devinit parport_pc_find_isa_ports (int autoirq,int autodma); -static int __devinit parport_pc_find_nonpci_ports (int autoirq,int autodma) +static int parport_pc_find_isa_ports (int autoirq,int autodma); +static int parport_pc_find_nonpci_ports (int autoirq,int autodma) {#ifdef CONFIG_ISA return parport_pc_find_isa_ports (autoirq, autodma);
Signature · 1 line
1.8.0
PATCH 295/493 tty: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/tty/hvc/hvcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/hvc/hvcs.c +1 -1
@@ -676,7 +676,7 @@ static int khvcsd(void *unused)return 0 ; } -static struct vio_device_id hvcs_driver_table[]__devinitdata = { +static struct vio_device_id hvcs_driver_table[] = { {"serial-server" ,"hvterm2" }, {"" ,"" } };
Signature · 1 line
1.8.0
PATCH 297/493 xen: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/xen/platform-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/platform-pci.c +1 -1
@@ -170,7 +170,7 @@ pci_out:return ret; } -static struct pci_device_id platform_pci_tbl[]__devinitdata = { +static struct pci_device_id platform_pci_tbl[] = { {PCI_VENDOR_ID_XEN ,PCI_DEVICE_ID_XEN_PLATFORM ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0 ,}
Signature · 1 line
1.8.0
PATCH 297/493 xen: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/xen/platform-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/platform-pci.c +1 -1
@@ -170,7 +170,7 @@ pci_out:return ret; } -static struct pci_device_id platform_pci_tbl[]__devinitdata = { +static struct pci_device_id platform_pci_tbl[] = { {PCI_VENDOR_ID_XEN ,PCI_DEVICE_ID_XEN_PLATFORM ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0 ,}
Signature · 1 line
1.8.0
PATCH 298/493 video: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/video/acornfb.c | 8 +++--- drivers/video/arcfb.c | 4 +-- drivers/video/arkfb.c | 4 +-- drivers/video/asiliantfb.c | 6 ++--- drivers/video/aty/aty128fb.c | 20 +++++++-------- drivers/video/aty/atyfb_base.c | 46 +++++++++++++++++----------------- drivers/video/au1100fb.c | 4 +-- drivers/video/bf537-lq035.c | 2 +- drivers/video/bfin_adv7393fb.c | 2 +- drivers/video/broadsheetfb.c | 4 +-- drivers/video/bw2.c | 10 ++++---- drivers/video/carminefb.c | 4 +-- drivers/video/cg14.c | 2 +- drivers/video/cg3.c | 10 ++++---- drivers/video/chipsfb.c | 4 +-- drivers/video/cirrusfb.c | 4 +-- drivers/video/cobalt_lcdfb.c | 2 +- drivers/video/console/sticore.c | 4 +-- drivers/video/cyber2000fb.c | 2 +- drivers/video/da8xx-fb.c | 4 +-- drivers/video/dnfb.c | 4 +-- drivers/video/efifb.c | 4 +-- drivers/video/fm2fb.c | 8 +++--- drivers/video/fsl-diu-fb.c | 2 +- drivers/video/gbefb.c | 14 +++++------ drivers/video/geode/gxfb_core.c | 4 +-- drivers/video/geode/lxfb_core.c | 4 +-- drivers/video/grvga.c | 2 +- drivers/video/hecubafb.c | 4 +-- drivers/video/hgafb.c | 4 +-- drivers/video/hitfb.c | 4 +-- drivers/video/i740fb.c | 6 ++--- drivers/video/i810/i810_main.c | 36 +++++++++++++------------- drivers/video/igafb.c | 2 +- drivers/video/imsttfb.c | 6 ++--- drivers/video/intelfb/intelfbdrv.c | 2 +- drivers/video/kyro/fbdev.c | 14 +++++------ drivers/video/mb862xx/mb862xxfbdrv.c | 4 +-- drivers/video/mbx/mbxfb.c | 4 +-- drivers/video/metronomefb.c | 4 +-- drivers/video/neofb.c | 4 +-- drivers/video/nvidia/nvidia.c | 32 +++++++++++------------ drivers/video/pm2fb.c | 10 ++++---- drivers/video/pm3fb.c | 8 +++--- drivers/video/pmag-ba-fb.c | 4 +-- drivers/video/pmagb-b-fb.c | 6 ++--- drivers/video/ps3fb.c | 2 +- drivers/video/pvr2fb.c | 14 +++++------ drivers/video/pxafb.c | 2 +- drivers/video/q40fb.c | 4 +-- drivers/video/riva/fbdev.c | 18 ++++++------- drivers/video/s1d13xxxfb.c | 4 +-- drivers/video/s3fb.c | 6 ++--- drivers/video/sa1100fb.c | 2 +- drivers/video/savage/savagefb_driver.c | 6 ++--- drivers/video/sgivwfb.c | 6 ++--- drivers/video/sis/sis_main.h | 20 +++++++-------- drivers/video/skeletonfb.c | 7 +++--- drivers/video/sm501fb.c | 2 +- drivers/video/sstfb.c | 6 ++--- drivers/video/tdfxfb.c | 8 +++--- drivers/video/tmiofb.c | 2 +- drivers/video/tridentfb.c | 14 +++++------ drivers/video/uvesafb.c | 24 +++++++++--------- drivers/video/vfb.c | 4 +-- drivers/video/vga16fb.c | 4 +-- drivers/video/via/via-core.c | 2 +- drivers/video/vt8623fb.c | 2 +- drivers/video/xilinxfb.c | 2 +- 69 files changed, 251 insertions(+), 252 deletions(-)
drivers/video/acornfb.c +4 -4
@@ -66,7 +66,7 @@* have. Allow 1% either way on the nominal for TVs. */ #define NR_MONTYPES 6 -static struct fb_monspecs monspecs[NR_MONTYPES ]__devinitdata = { +static struct fb_monspecs monspecs[NR_MONTYPES ] = { {/* TV */ .hfmin =15469 , .hfmax =15781 ,
@@ -874,7 +874,7 @@ static struct fb_ops acornfb_ops = {/* * Everything after here is initialisation!!! */ -static struct fb_videomode modedb[]__devinitdata = { +static struct fb_videomode modedb[] = { {/* 320x256 @ 50Hz */ NULL ,50 ,320 ,256 ,125000 ,92 ,62 ,35 ,19 ,38 ,2 ,FB_SYNC_COMP_HIGH_ACT ,
@@ -926,7 +926,7 @@ static struct fb_videomode modedb[] __devinitdata = { } }; -static struct fb_videomode acornfb_default_mode__devinitdata = { +static struct fb_videomode acornfb_default_mode = { .name =NULL , .refresh =60 , .xres =640 ,
@@ -1131,7 +1131,7 @@ static void acornfb_parse_dram(char *opt)static struct options {char *name;void (*parse)(char *opt); -} opt_table[]__devinitdata = { +} opt_table[] = { {"mon" , acornfb_parse_mon }, {"montype" , acornfb_parse_montype }, {"dram" , acornfb_parse_dram },
drivers/video/arcfb.c +2 -2
@@ -79,7 +79,7 @@ struct arcfb_par {spinlock_t lock; }; -static struct fb_fix_screeninfo arcfb_fix__devinitdata = { +static struct fb_fix_screeninfo arcfb_fix = { .id ="arcfb" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_MONO01 ,
@@ -89,7 +89,7 @@ static struct fb_fix_screeninfo arcfb_fix __devinitdata = { .accel = FB_ACCEL_NONE, }; -static struct fb_var_screeninfo arcfb_var__devinitdata = { +static struct fb_var_screeninfo arcfb_var = { .xres =128 , .yres =64 , .xres_virtual =128 ,
drivers/video/arkfb.c +2 -2
@@ -100,7 +100,7 @@ static const struct svga_timing_regs ark_timing_regs = {/* Module parameters */ -static char *mode_option__devinitdata ="640x480-8 at 60" ; +static char *mode_option ="640x480-8 at 60" ;#ifdef CONFIG_MTRR static int mtrr =1 ;
@@ -1184,7 +1184,7 @@ fail:/* List of boards that we are trying to support */ -static struct pci_device_id ark_devices[]__devinitdata = { +static struct pci_device_id ark_devices[] = { {PCI_DEVICE (0xEDD8 ,0xA099 )}, {0 ,0 ,0 ,0 ,0 ,0 ,0 } };
drivers/video/asiliantfb.c +3 -3
@@ -474,7 +474,7 @@ static void chips_hw_init(struct fb_info *p)write_fr (chips_init_fr[i].addr, chips_init_fr[i].data); } -static struct fb_fix_screeninfo asiliantfb_fix__devinitdata = { +static struct fb_fix_screeninfo asiliantfb_fix = { .id ="Asiliant 69000" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR ,
@@ -483,7 +483,7 @@ static struct fb_fix_screeninfo asiliantfb_fix __devinitdata = { .smem_len = 0x200000, /* 2MB */ }; -static struct fb_var_screeninfo asiliantfb_var__devinitdata = { +static struct fb_var_screeninfo asiliantfb_var = { .xres =640 , .yres =480 , .xres_virtual =640 ,
@@ -593,7 +593,7 @@ static void __devexit asiliantfb_remove(struct pci_dev *dp)framebuffer_release (p); } -static struct pci_device_id asiliantfb_pci_tbl[]__devinitdata = { +static struct pci_device_id asiliantfb_pci_tbl[] = { {PCI_VENDOR_ID_CT ,PCI_DEVICE_ID_CT_69000 ,PCI_ANY_ID ,PCI_ANY_ID }, {0 } };
drivers/video/aty/aty128fb.c +10 -10
@@ -98,7 +98,7 @@#ifndef CONFIG_PPC_PMAC /* default mode */ -static struct fb_var_screeninfo default_var__devinitdata = { +static struct fb_var_screeninfo default_var = {/* 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) */ 640 ,480 ,640 ,480 ,0 ,0 ,8 ,0 , {0, 8, 0}, {0, 8, 0}, {0, 8, 0}, {0, 0, 0},
@@ -121,7 +121,7 @@ static struct fb_var_screeninfo default_var = {/* default modedb mode */ /* 640x480, 60 Hz, Non-Interlaced (25.172 MHz dotclock) */ -static struct fb_videomode defaultmode__devinitdata = { +static struct fb_videomode defaultmode = { .refresh =60 , .xres =640 , .yres =480 ,
@@ -333,7 +333,7 @@ static const struct aty128_meminfo sdr_sgram =static const struct aty128_meminfo ddr_sgram = {4 ,4 ,3 ,3 ,2 ,3 ,1 ,16 ,31 ,16 ,"64-bit DDR SGRAM" }; -static struct fb_fix_screeninfo aty128fb_fix__devinitdata = { +static struct fb_fix_screeninfo aty128fb_fix = { .id ="ATY Rage128" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR ,
@@ -343,24 +343,24 @@ static struct fb_fix_screeninfo aty128fb_fix __devinitdata = { .accel = FB_ACCEL_ATI_RAGE128, }; -static char *mode_option__devinitdata =NULL ; +static char *mode_option =NULL ;#ifdef CONFIG_PPC_PMAC -static int default_vmode__devinitdata =VMODE_1024_768_60 ; -static int default_cmode__devinitdata =CMODE_8 ; +static int default_vmode =VMODE_1024_768_60 ; +static int default_cmode =CMODE_8 ;#endif -static int default_crt_on__devinitdata =0 ; -static int default_lcd_on__devinitdata =1 ; +static int default_crt_on =0 ; +static int default_lcd_on =1 ;#ifdef CONFIG_MTRR static bool mtrr = true;#endif #ifdef CONFIG_PMAC_BACKLIGHT -static int backlight__devinitdata =1 ; +static int backlight =1 ;#else -static int backlight__devinitdata =0 ; +static int backlight =0 ;#endif /* PLL constants */
drivers/video/aty/atyfb_base.c +23 -23
99 lines not on this page · raw message
drivers/video/au1100fb.c +2 -2
@@ -83,7 +83,7 @@ struct fb_bitfield rgb_bitfields[][4] = { { 8, 4, 0 }, { 4, 4, 0 }, { 0, 4, 0 }, { 0, 0, 0 } }, }; -static struct fb_fix_screeninfo au1100fb_fix __devinitdata = { +static struct fb_fix_screeninfo au1100fb_fix = { .id = "AU1100 FB", .xpanstep = 1, .ypanstep = 1,
@@ -91,7 +91,7 @@ static struct fb_fix_screeninfo au1100fb_fix __devinitdata = { .accel = FB_ACCEL_NONE, }; -static struct fb_var_screeninfo au1100fb_var__devinitdata = { +static struct fb_var_screeninfo au1100fb_var = { .activate =FB_ACTIVATE_NOW , .height =-1 , .width =-1 ,
drivers/video/bf537-lq035.c +1 -1
@@ -443,7 +443,7 @@ static struct fb_var_screeninfo bfin_lq035_fb_defined = { .transp = {0, 0, 0}, }; -static struct fb_fix_screeninfo bfin_lq035_fb_fix__devinitdata = { +static struct fb_fix_screeninfo bfin_lq035_fb_fix = { .id =KBUILD_MODNAME , .smem_len =ACTIVE_VIDEO_MEM_SIZE , .type = FB_TYPE_PACKED_PIXELS,
drivers/video/bfin_adv7393fb.c +1 -1
@@ -88,7 +88,7 @@ static struct fb_var_screeninfo bfin_adv7393_fb_defined = { .transp = {0, 0, 0}, }; -static struct fb_fix_screeninfo bfin_adv7393_fb_fix__devinitdata = { +static struct fb_fix_screeninfo bfin_adv7393_fb_fix = { .id ="BFIN ADV7393" , .smem_len =720 *480 *2 , .type = FB_TYPE_PACKED_PIXELS,
drivers/video/broadsheetfb.c +2 -2
@@ -91,7 +91,7 @@ static struct panel_info panel_table[] = {#define DPY_W 800#define DPY_H 600 -static struct fb_fix_screeninfo broadsheetfb_fix__devinitdata = { +static struct fb_fix_screeninfo broadsheetfb_fix = { .id ="broadsheetfb" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_STATIC_PSEUDOCOLOR ,
@@ -102,7 +102,7 @@ static struct fb_fix_screeninfo broadsheetfb_fix __devinitdata = { .accel = FB_ACCEL_NONE, }; -static struct fb_var_screeninfo broadsheetfb_var__devinitdata = { +static struct fb_var_screeninfo broadsheetfb_var = { .xres =DPY_W , .yres =DPY_H , .xres_virtual =DPY_W ,
drivers/video/bw2.c +5 -5
@@ -191,35 +191,35 @@ static void bw2_init_fix(struct fb_info *info, int linebytes) info->fix.accel =FB_ACCEL_SUN_BWTWO ; } -static u8 bw2regs_1600[]__devinitdata = { +static u8 bw2regs_1600[] = {0x14 ,0x8b ,0x15 ,0x28 ,0x16 ,0x03 ,0x17 ,0x13 ,0x18 ,0x7b ,0x19 ,0x05 ,0x1a ,0x34 ,0x1b ,0x2e ,0x1c ,0x00 ,0x1d ,0x0a ,0x1e ,0xff ,0x1f ,0x01 ,0x10 ,0x21 ,0 }; -static u8 bw2regs_ecl[]__devinitdata = { +static u8 bw2regs_ecl[] = {0x14 ,0x65 ,0x15 ,0x1e ,0x16 ,0x04 ,0x17 ,0x0c ,0x18 ,0x5e ,0x19 ,0x03 ,0x1a ,0xa7 ,0x1b ,0x23 ,0x1c ,0x00 ,0x1d ,0x08 ,0x1e ,0xff ,0x1f ,0x01 ,0x10 ,0x20 ,0 }; -static u8 bw2regs_analog[]__devinitdata = { +static u8 bw2regs_analog[] = {0x14 ,0xbb ,0x15 ,0x2b ,0x16 ,0x03 ,0x17 ,0x13 ,0x18 ,0xb0 ,0x19 ,0x03 ,0x1a ,0xa6 ,0x1b ,0x22 ,0x1c ,0x01 ,0x1d ,0x05 ,0x1e ,0xff ,0x1f ,0x01 ,0x10 ,0x20 ,0 }; -static u8 bw2regs_76hz[]__devinitdata = { +static u8 bw2regs_76hz[] = {0x14 ,0xb7 ,0x15 ,0x27 ,0x16 ,0x03 ,0x17 ,0x0f ,0x18 ,0xae ,0x19 ,0x03 ,0x1a ,0xae ,0x1b ,0x2a ,0x1c ,0x01 ,0x1d ,0x09 ,0x1e ,0xff ,0x1f ,0x01 ,0x10 ,0x24 ,0 }; -static u8 bw2regs_66hz[]__devinitdata = { +static u8 bw2regs_66hz[] = {0x14 ,0xbb ,0x15 ,0x2b ,0x16 ,0x04 ,0x17 ,0x14 ,0x18 ,0xae ,0x19 ,0x03 ,0x1a ,0xa8 ,0x1b ,0x24 ,0x1c ,0x01 ,0x1d ,0x05 ,0x1e ,0xff ,0x1f ,0x01 ,
drivers/video/carminefb.c +2 -2
@@ -78,7 +78,7 @@ struct carmine_fb {u32 pseudo_palette[16 ]; }; -static struct fb_fix_screeninfo carminefb_fix__devinitdata = { +static struct fb_fix_screeninfo carminefb_fix = { .id ="Carmine" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_TRUECOLOR ,
@@ -752,7 +752,7 @@ static void __devexit carminefb_remove(struct pci_dev *dev) }#define PCI_VENDOR_ID_FUJITU_LIMITED 0x10cf -static struct pci_device_id carmine_devices[]__devinitdata = { +static struct pci_device_id carmine_devices[] = { {PCI_DEVICE (PCI_VENDOR_ID_FUJITU_LIMITED ,0x202b )}, {0 ,0 ,0 ,0 ,0 ,0 ,0 }
drivers/video/cg14.c +1 -1
@@ -367,7 +367,7 @@ static void cg14_init_fix(struct fb_info *info, int linebytes, info->fix.accel =FB_ACCEL_SUN_CG14 ; } -static struct sbus_mmap_map __cg14_mmap_map[CG14_MMAP_ENTRIES ]__devinitdata = { +static struct sbus_mmap_map __cg14_mmap_map[CG14_MMAP_ENTRIES ] = { { .voff =CG14_REGS , .poff =0x80000000 ,
drivers/video/cg3.c +5 -5
@@ -279,32 +279,32 @@ static void cg3_rdi_maybe_fixup_var(struct fb_var_screeninfo *var, } } -static u8 cg3regvals_66hz[]__devinitdata = {/* 1152 x 900, 66 Hz */ +static u8 cg3regvals_66hz[] = {/* 1152 x 900, 66 Hz */ 0x14 ,0xbb ,0x15 ,0x2b ,0x16 ,0x04 ,0x17 ,0x14 ,0x18 ,0xae ,0x19 ,0x03 ,0x1a ,0xa8 ,0x1b ,0x24 ,0x1c ,0x01 ,0x1d ,0x05 ,0x1e ,0xff ,0x1f ,0x01 ,0x10 ,0x20 ,0 }; -static u8 cg3regvals_76hz[]__devinitdata = {/* 1152 x 900, 76 Hz */ +static u8 cg3regvals_76hz[] = {/* 1152 x 900, 76 Hz */ 0x14 ,0xb7 ,0x15 ,0x27 ,0x16 ,0x03 ,0x17 ,0x0f ,0x18 ,0xae ,0x19 ,0x03 ,0x1a ,0xae ,0x1b ,0x2a ,0x1c ,0x01 ,0x1d ,0x09 ,0x1e ,0xff ,0x1f ,0x01 ,0x10 ,0x24 ,0 }; -static u8 cg3regvals_rdi[]__devinitdata = {/* 640 x 480, cgRDI */ +static u8 cg3regvals_rdi[] = {/* 640 x 480, cgRDI */ 0x14 ,0x70 ,0x15 ,0x20 ,0x16 ,0x08 ,0x17 ,0x10 ,0x18 ,0x06 ,0x19 ,0x02 ,0x1a ,0x31 ,0x1b ,0x51 ,0x1c ,0x06 ,0x1d ,0x0c ,0x1e ,0xff ,0x1f ,0x01 ,0x10 ,0x22 ,0 }; -static u8 *cg3_regvals[]__devinitdata = { +static u8 *cg3_regvals[] = { cg3regvals_66hz, cg3regvals_76hz, cg3regvals_rdi }; -static u_char cg3_dacvals[]__devinitdata = { +static u_char cg3_dacvals[] = {4 ,0xff ,5 ,0x00 ,6 ,0x70 ,7 ,0x00 ,0 };
drivers/video/chipsfb.c +2 -2
@@ -292,7 +292,7 @@ static void __init chips_hw_init(void)write_fr (chips_init_fr[i].addr, chips_init_fr[i].data); } -static struct fb_fix_screeninfo chipsfb_fix__devinitdata = { +static struct fb_fix_screeninfo chipsfb_fix = { .id ="C&T 65550" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR ,
@@ -309,7 +309,7 @@ static struct fb_fix_screeninfo chipsfb_fix __devinitdata = { .smem_len = 0x100000, /* 1MB */ }; -static struct fb_var_screeninfo chipsfb_var__devinitdata = { +static struct fb_var_screeninfo chipsfb_var = { .xres =800 , .yres =600 , .xres_virtual =800 ,
drivers/video/cirrusfb.c +2 -2
@@ -372,8 +372,8 @@ struct cirrusfb_info {void (*unmap)(struct fb_info *info); }; -static bool noaccel__devinitdata ; -static char *mode_option__devinitdata ="640x480 at 60" ; +static bool noaccel; +static char *mode_option ="640x480 at 60" ;/****************************************************************************/ /**** BEGIN PROTOTYPES ******************************************************/
drivers/video/cobalt_lcdfb.c +1 -1
@@ -167,7 +167,7 @@ static void lcd_clear(struct fb_info *info)lcd_write_control (info,LCD_RESET ); } -static struct fb_fix_screeninfo cobalt_lcdfb_fix__devinitdata = { +static struct fb_fix_screeninfo cobalt_lcdfb_fix = { .id ="cobalt-lcd" , .type =FB_TYPE_TEXT , .type_aux =FB_AUX_TEXT_MDA ,
drivers/video/console/sticore.c +2 -2
@@ -285,8 +285,8 @@ __setup("sti=", sti_setup); -static char __devinitdata *font_name[MAX_STI_ROMS ] = {"VGA8x16" , }; -static int __devinitdata font_index[MAX_STI_ROMS ], +static char *font_name[MAX_STI_ROMS ] = {"VGA8x16" , }; +static int font_index[MAX_STI_ROMS ], font_height[MAX_STI_ROMS ], font_width[MAX_STI_ROMS ];#ifndef MODULE
drivers/video/cyber2000fb.c +1 -1
@@ -1336,7 +1336,7 @@ static void cyber2000fb_i2c_unregister(struct cfb_info *cfb)* These parameters give * 640x480, hsync 31.5kHz, vsync 60Hz */ -static struct fb_videomode __devinitdata cyber2000fb_default_mode = { +static struct fb_videomode cyber2000fb_default_mode = { .refresh =60 , .xres =640 , .yres =480 ,
drivers/video/da8xx-fb.c +2 -2
@@ -185,7 +185,7 @@ struct da8xx_fb_par { };/* Variable Screen Information */ -static struct fb_var_screeninfo da8xx_fb_var__devinitdata = { +static struct fb_var_screeninfo da8xx_fb_var = { .xoffset =0 , .yoffset =0 , .transp = {0 ,0 ,0 },
@@ -202,7 +202,7 @@ static struct fb_var_screeninfo da8xx_fb_var __devinitdata = { .vmode = FB_VMODE_NONINTERLACED }; -static struct fb_fix_screeninfo da8xx_fb_fix__devinitdata = { +static struct fb_fix_screeninfo da8xx_fb_fix = { .id ="DA8xx FB Drv" , .type =FB_TYPE_PACKED_PIXELS , .type_aux =0 ,
drivers/video/dnfb.c +2 -2
@@ -115,7 +115,7 @@ static struct fb_ops dn_fb_ops = { .fb_imageblit = cfb_imageblit, }; -struct fb_var_screeninfo dnfb_var__devinitdata = { +struct fb_var_screeninfo dnfb_var = { .xres =1280 , .yres =1024 , .xres_virtual =2048 ,
@@ -126,7 +126,7 @@ struct fb_var_screeninfo dnfb_var __devinitdata = { .vmode = FB_VMODE_NONINTERLACED, }; -static struct fb_fix_screeninfo dnfb_fix__devinitdata = { +static struct fb_fix_screeninfo dnfb_fix = { .id ="Apollo Mono" , .smem_start = (FRAME_BUFFER_START +IO_BASE ), .smem_len =FRAME_BUFFER_LEN ,
drivers/video/efifb.c +2 -2
@@ -20,7 +20,7 @@ static bool request_mem_succeeded = false;static struct pci_dev *default_vga; -static struct fb_var_screeninfo efifb_defined__devinitdata = { +static struct fb_var_screeninfo efifb_defined = { .activate =FB_ACTIVATE_NOW , .height =-1 , .width =-1 ,
@@ -31,7 +31,7 @@ static struct fb_var_screeninfo efifb_defined __devinitdata = { .vmode = FB_VMODE_NONINTERLACED, }; -static struct fb_fix_screeninfo efifb_fix__devinitdata = { +static struct fb_fix_screeninfo efifb_fix = { .id ="EFI VGA" , .type =FB_TYPE_PACKED_PIXELS , .accel =FB_ACCEL_NONE ,
drivers/video/fm2fb.c +4 -4
@@ -127,7 +127,7 @@static volatile unsigned char *fm2fb_reg; -static struct fb_fix_screeninfo fb_fix__devinitdata = { +static struct fb_fix_screeninfo fb_fix = { .smem_len =FRAMEMASTER_REG , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_TRUECOLOR ,
@@ -136,12 +136,12 @@ static struct fb_fix_screeninfo fb_fix __devinitdata = { .accel = FB_ACCEL_NONE, }; -static int fm2fb_mode__devinitdata =-1 ; +static int fm2fb_mode =-1 ;#define FM2FB_MODE_PAL 0#define FM2FB_MODE_NTSC 1 -static struct fb_var_screeninfo fb_var_modes[]__devinitdata = { +static struct fb_var_screeninfo fb_var_modes[] = { {/* 768 x 576, 32 bpp (PAL) */ 768 ,576 ,768 ,576 ,0 ,0 ,32 ,0 ,
@@ -214,7 +214,7 @@ static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,static int fm2fb_probe (struct zorro_dev *z,const struct zorro_device_id *id); -static struct zorro_device_id fm2fb_devices[]__devinitdata = { +static struct zorro_device_id fm2fb_devices[] = { {ZORRO_PROD_BSC_FRAMEMASTER_II }, {ZORRO_PROD_HELFRICH_RAINBOW_II }, {0 }
drivers/video/fsl-diu-fb.c +1 -1
@@ -55,7 +55,7 @@* order if increasing resolution and frequency. The 320x240-60 mode is * the initial AOI for the second and third planes. */ -static struct fb_videomode __devinitdata fsl_diu_mode_db[] = { +static struct fb_videomode fsl_diu_mode_db[] = { { .refresh =60 , .xres =1024 ,
drivers/video/gbefb.c +7 -7
@@ -91,10 +91,10 @@ static uint32_t pseudo_palette[16];static uint32_t gbe_cmap[256 ];static int gbe_turned_on;/* 0 turned off, 1 turned on */ -static char *mode_option__devinitdata =NULL ; +static char *mode_option =NULL ;/* default CRT mode */ -static struct fb_var_screeninfo default_var_CRT__devinitdata = { +static struct fb_var_screeninfo default_var_CRT = {/* 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) */ .xres =640 , .yres =480 ,
@@ -125,7 +125,7 @@ static struct fb_var_screeninfo default_var_CRT __devinitdata = { };/* default LCD mode */ -static struct fb_var_screeninfo default_var_LCD__devinitdata = { +static struct fb_var_screeninfo default_var_LCD = {/* 1600x1024, 8 bpp */ .xres =1600 , .yres =1024 ,
@@ -157,7 +157,7 @@ static struct fb_var_screeninfo default_var_LCD __devinitdata = {/* default modedb mode */ /* 640x480, 60 Hz, Non-Interlaced (25.172 MHz dotclock) */ -static struct fb_videomode default_mode_CRT__devinitdata = { +static struct fb_videomode default_mode_CRT = { .refresh =60 , .xres =640 , .yres =480 ,
@@ -172,7 +172,7 @@ static struct fb_videomode default_mode_CRT __devinitdata = { .vmode = FB_VMODE_NONINTERLACED, };/* 1600x1024 SGI flatpanel 1600sw */ -static struct fb_videomode default_mode_LCD__devinitdata = { +static struct fb_videomode default_mode_LCD = {/* 1600x1024, 8 bpp */ .xres =1600 , .yres =1024 ,
@@ -186,8 +186,8 @@ static struct fb_videomode default_mode_LCD __devinitdata = { .vmode = FB_VMODE_NONINTERLACED, }; -static struct fb_videomode *default_mode__devinitdata = &default_mode_CRT; -static struct fb_var_screeninfo *default_var__devinitdata = &default_var_CRT; +static struct fb_videomode *default_mode = &default_mode_CRT; +static struct fb_var_screeninfo *default_var = &default_var_CRT;static int flat_panel_enabled =0 ;
drivers/video/geode/gxfb_core.c +2 -2
@@ -40,7 +40,7 @@ static int vram;static int vt_switch;/* Modes relevant to the GX (taken from modedb.c) */ -static struct fb_videomode gx_modedb[]__devinitdata = { +static struct fb_videomode gx_modedb[] = {/* 640x480-60 VESA */ {NULL ,60 ,640 ,480 ,39682 ,48 ,16 ,33 ,10 ,96 ,2 ,0 ,FB_VMODE_NONINTERLACED ,FB_MODE_IS_VESA },
@@ -110,7 +110,7 @@ static struct fb_videomode gx_modedb[] __devinitdata = { #ifdef CONFIG_OLPC #include <asm/olpc.h> -static struct fb_videomode gx_dcon_modedb[] __devinitdata = { +static struct fb_videomode gx_dcon_modedb[] = { /* The only mode the DCON has is 1200x900 */ { NULL, 50, 1200, 900, 17460, 24, 8, 4, 5, 8, 3, FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
drivers/video/geode/lxfb_core.c +2 -2
@@ -35,7 +35,7 @@ static int vt_switch;* we try to make it something sane - 640x480-60 is sane */ -static struct fb_videomode geode_modedb[]__devinitdata = { +static struct fb_videomode geode_modedb[] = {/* 640x480-60 */ {NULL ,60 ,640 ,480 ,39682 ,48 ,8 ,25 ,2 ,88 ,2 ,FB_SYNC_HOR_HIGH_ACT |FB_SYNC_VERT_HIGH_ACT ,
@@ -219,7 +219,7 @@ static struct fb_videomode geode_modedb[] __devinitdata = { #ifdef CONFIG_OLPC #include <asm/olpc.h> -static struct fb_videomode olpc_dcon_modedb[] __devinitdata = { +static struct fb_videomode olpc_dcon_modedb[] = { /* The only mode the DCON has is 1200x900 */ { NULL, 50, 1200, 900, 17460, 24, 8, 4, 5, 8, 3, FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
drivers/video/grvga.c +1 -1
@@ -70,7 +70,7 @@ static const struct fb_videomode grvga_modedb[] = { } }; -static struct fb_fix_screeninfo grvga_fix__devinitdata = { +static struct fb_fix_screeninfo grvga_fix = { .id ="AG SVGACTRL" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR ,
drivers/video/hecubafb.c +2 -2
@@ -47,7 +47,7 @@#define DPY_W 600#define DPY_H 800 -static struct fb_fix_screeninfo hecubafb_fix__devinitdata = { +static struct fb_fix_screeninfo hecubafb_fix = { .id ="hecubafb" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_MONO01 ,
@@ -58,7 +58,7 @@ static struct fb_fix_screeninfo hecubafb_fix __devinitdata = { .accel = FB_ACCEL_NONE, }; -static struct fb_var_screeninfo hecubafb_var__devinitdata = { +static struct fb_var_screeninfo hecubafb_var = { .xres =DPY_W , .yres =DPY_H , .xres_virtual =DPY_W ,
drivers/video/hgafb.c +2 -2
@@ -106,7 +106,7 @@ static DEFINE_SPINLOCK(hga_reg_lock);/* Framebuffer driver structures */ -static struct fb_var_screeninfo hga_default_var__devinitdata = { +static struct fb_var_screeninfo hga_default_var = { .xres =720 , .yres =348 , .xres_virtual =720 ,
@@ -120,7 +120,7 @@ static struct fb_var_screeninfo hga_default_var __devinitdata = { .width = -1, }; -static struct fb_fix_screeninfo hga_fix__devinitdata = { +static struct fb_fix_screeninfo hga_fix = { .id ="HGA" , .type =FB_TYPE_PACKED_PIXELS ,/* (not sure) */ .visual =FB_VISUAL_MONO10 ,
drivers/video/hitfb.c +2 -2
@@ -30,14 +30,14 @@#define WIDTH 640 -static struct fb_var_screeninfo hitfb_var__devinitdata = { +static struct fb_var_screeninfo hitfb_var = { .activate =FB_ACTIVATE_NOW , .height =-1 , .width =-1 , .vmode =FB_VMODE_NONINTERLACED , }; -static struct fb_fix_screeninfo hitfb_fix__devinitdata = { +static struct fb_fix_screeninfo hitfb_fix = { .id ="Hitachi HD64461" , .type =FB_TYPE_PACKED_PIXELS , .accel =FB_ACCEL_NONE ,
drivers/video/i740fb.c +3 -3
@@ -33,10 +33,10 @@#include "i740_reg.h" -static char *mode_option__devinitdata ; +static char *mode_option;#ifdef CONFIG_MTRR -static int mtrr__devinitdata =1 ; +static int mtrr =1 ;#endif struct i740fb_par {
@@ -91,7 +91,7 @@ struct i740fb_par {#define DACSPEED24_SD 128#define DACSPEED32 86 -static struct fb_fix_screeninfo i740fb_fix__devinitdata = { +static struct fb_fix_screeninfo i740fb_fix = { .id ="i740fb" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_TRUECOLOR ,
drivers/video/i810/i810_main.c +18 -18
@@ -74,8 +74,8 @@* * Experiment with v_offset to find out which works best for you. */ -static u32 v_offset_default__devinitdata ;/* For 32 MiB Aper size, 8 should be the default */ -static u32 voffset__devinitdata ; +static u32 v_offset_default;/* For 32 MiB Aper size, 8 should be the default */ +static u32 voffset;static int i810fb_cursor (struct fb_info *info,struct fb_cursor *cursor); static int i810fb_init_pci (struct pci_dev *dev,
@@ -132,22 +132,22 @@ static struct pci_driver i810fb_driver = { .resume = i810fb_resume, }; -static char *mode_option__devinitdata =NULL ; -static int vram__devinitdata =4 ; -static int bpp__devinitdata =8 ; -static bool mtrr__devinitdata ; -static bool accel__devinitdata ; -static int hsync1__devinitdata ; -static int hsync2__devinitdata ; -static int vsync1__devinitdata ; -static int vsync2__devinitdata ; -static int xres__devinitdata ; +static char *mode_option =NULL ; +static int vram =4 ; +static int bpp =8 ; +static bool mtrr; +static bool accel; +static int hsync1; +static int hsync2; +static int vsync1; +static int vsync2; +static int xres;static int yres; -static int vyres__devinitdata ; -static bool sync__devinitdata ; -static bool extvga__devinitdata ; -static bool dcolor__devinitdata ; -static bool ddc3__devinitdata ; +static int vyres; +static bool sync; +static bool extvga; +static bool dcolor; +static bool ddc3;/*------------------------------------------------------------*/
@@ -1541,7 +1541,7 @@ static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor)return 0 ; } -static struct fb_ops i810fb_ops__devinitdata = { +static struct fb_ops i810fb_ops = { .owner =THIS_MODULE , .fb_open = i810fb_open, .fb_release = i810fb_release,
drivers/video/igafb.c +1 -1
@@ -571,7 +571,7 @@ static int __init igafb_setup(char *options)module_init (igafb_init);MODULE_LICENSE ("GPL" ); -static struct pci_device_id igafb_pci_tbl[]__devinitdata = { +static struct pci_device_id igafb_pci_tbl[] = { {PCI_VENDOR_ID_INTERG ,PCI_DEVICE_ID_INTERG_1682 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, { }
drivers/video/imsttfb.c +3 -3
@@ -225,7 +225,7 @@ struct initvalues {__u8 addr, value; }; -static struct initvalues ibm_initregs[]__devinitdata = { +static struct initvalues ibm_initregs[] = { {CLKCTL ,0x21 }, {SYNCCTL ,0x00 }, {HSYNCPOS ,0x00 },
@@ -272,7 +272,7 @@ static struct initvalues ibm_initregs[] __devinitdata = { { KEYCTL, 0x00 } }; -static struct initvalues tvp_initregs[]__devinitdata = { +static struct initvalues tvp_initregs[] = { {TVPIRICC ,0x00 }, {TVPIRBRC ,0xe4 }, {TVPIRLAC ,0x06 },
@@ -336,7 +336,7 @@ enum {static int inverse =0 ;static char fontname[40 ]__initdata = {0 };#if defined(CONFIG_PPC ) -static signed char init_vmode__devinitdata =-1 , init_cmode__devinitdata =-1 ; +static signed char init_vmode =-1 , init_cmode =-1 ;#endif static struct imstt_regvals tvp_reg_init_2 = {
drivers/video/intelfb/intelfbdrv.c +1 -1
@@ -177,7 +177,7 @@ static int intelfb_set_fbinfo(struct intelfb_info *dinfo);#define INTELFB_CLASS_MASK 0#endif -static struct pci_device_id intelfb_pci_table[]__devinitdata = { +static struct pci_device_id intelfb_pci_table[] = { {PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_830M ,PCI_ANY_ID ,PCI_ANY_ID ,PCI_CLASS_DISPLAY_VGA <<8 ,INTELFB_CLASS_MASK ,INTEL_830M }, {PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_845G ,PCI_ANY_ID ,PCI_ANY_ID ,PCI_CLASS_DISPLAY_VGA <<8 ,INTELFB_CLASS_MASK ,INTEL_845G }, {PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_85XGM ,PCI_ANY_ID ,PCI_ANY_ID ,PCI_CLASS_DISPLAY_VGA <<8 ,INTELFB_CLASS_MASK ,INTEL_85XGM },
drivers/video/kyro/fbdev.c +7 -7
@@ -40,14 +40,14 @@#define KHZ2PICOS (a) (1000000000UL/(a))/****************************************************************************/ -static struct fb_fix_screeninfo kyro_fix__devinitdata = { +static struct fb_fix_screeninfo kyro_fix = { .id ="ST Kyro" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_TRUECOLOR , .accel =FB_ACCEL_NONE , }; -static struct fb_var_screeninfo kyro_var__devinitdata = { +static struct fb_var_screeninfo kyro_var = {/* 640x480, 16bpp @ 60 Hz */ .xres =640 , .yres =480 ,
@@ -81,18 +81,18 @@ typedef struct {/* global graphics card info structure (one per card) */ static device_info_t deviceInfo; -static char *mode_option__devinitdata =NULL ; -static int nopan__devinitdata =0 ; -static int nowrap__devinitdata =1 ; +static char *mode_option =NULL ; +static int nopan =0 ; +static int nowrap =1 ;#ifdef CONFIG_MTRR -static int nomtrr__devinitdata =0 ; +static int nomtrr =0 ;#endif /* PCI driver prototypes */ static int kyrofb_probe (struct pci_dev *pdev,const struct pci_device_id *ent);static void kyrofb_remove (struct pci_dev *pdev); -static struct fb_videomode kyro_modedb[]__devinitdata = { +static struct fb_videomode kyro_modedb[] = { {/* 640x350 @ 85Hz */ NULL ,85 ,640 ,350 ,KHZ2PICOS (31500 ),
drivers/video/mb862xx/mb862xxfbdrv.c +2 -2
@@ -823,7 +823,7 @@ static int __devexit of_platform_mb862xx_remove(struct platform_device *ofdev)/* * common types */ -static struct of_device_id __devinitdata of_platform_mb862xx_tbl[] = { +static struct of_device_id of_platform_mb862xx_tbl[] = { { .compatible ="fujitsu,MB86276" , }, { .compatible ="fujitsu,lime" , }, { .compatible ="fujitsu,MB86277" , },
@@ -984,7 +984,7 @@ static inline int mb862xx_pci_gdc_init(struct mb862xxfb_par *par)#define CHIP_ID (id) \ { PCI_DEVICE(PCI_VENDOR_ID_FUJITSU_LIMITED, id) } -static struct pci_device_id mb862xx_pci_tbl[]__devinitdata = { +static struct pci_device_id mb862xx_pci_tbl[] = {/* MB86295/MB86296 */ CHIP_ID (PCI_DEVICE_ID_FUJITSU_CORALP ),CHIP_ID (PCI_DEVICE_ID_FUJITSU_CORALPA ),
drivers/video/mbx/mbxfb.c +2 -2
@@ -79,7 +79,7 @@ struct mbxfb_info { }; -static struct fb_var_screeninfo mbxfb_default__devinitdata = { +static struct fb_var_screeninfo mbxfb_default = { .xres =640 , .yres =480 , .xres_virtual =640 ,
@@ -102,7 +102,7 @@ static struct fb_var_screeninfo mbxfb_default __devinitdata = { .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, }; -static struct fb_fix_screeninfo mbxfb_fix__devinitdata = { +static struct fb_fix_screeninfo mbxfb_fix = { .id ="MBX" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_TRUECOLOR ,
drivers/video/metronomefb.c +2 -2
@@ -99,7 +99,7 @@ static struct epd_frame epd_frame_table[] = { }, }; -static struct fb_fix_screeninfo metronomefb_fix__devinitdata = { +static struct fb_fix_screeninfo metronomefb_fix = { .id ="metronomefb" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_STATIC_PSEUDOCOLOR ,
@@ -110,7 +110,7 @@ static struct fb_fix_screeninfo metronomefb_fix __devinitdata = { .accel = FB_ACCEL_NONE, }; -static struct fb_var_screeninfo metronomefb_var__devinitdata = { +static struct fb_var_screeninfo metronomefb_var = { .xres =DPY_W , .yres =DPY_H , .xres_virtual =DPY_W ,
drivers/video/neofb.c +2 -2
@@ -88,7 +88,7 @@ static bool external;static bool libretto;static bool nostretch;static bool nopciburst; -static char *mode_option__devinitdata =NULL ; +static char *mode_option =NULL ;#ifdef MODULE
@@ -1632,7 +1632,7 @@ static struct fb_ops neofb_ops = {/* --------------------------------------------------------------------- */ -static struct fb_videomode __devinitdata mode800x480 = { +static struct fb_videomode mode800x480 = { .xres =800 , .yres =480 , .pixclock =25000 ,
drivers/video/nvidia/nvidia.c +16 -16
@@ -70,34 +70,34 @@ static struct pci_device_id nvidiafb_pci_tbl[] = {MODULE_DEVICE_TABLE (pci, nvidiafb_pci_tbl);/* command line data, set in nvidiafb_setup() */ -static int flatpanel__devinitdata =-1 ;/* Autodetect later */ -static int fpdither__devinitdata =-1 ; -static int forceCRTC__devinitdata =-1 ; -static int hwcur__devinitdata =0 ; -static int noaccel__devinitdata =0 ; -static int noscale__devinitdata =0 ; -static int paneltweak__devinitdata =0 ; -static int vram__devinitdata =0 ; -static int bpp__devinitdata =8 ; -static int reverse_i2c__devinitdata ; +static int flatpanel =-1 ;/* Autodetect later */ +static int fpdither =-1 ; +static int forceCRTC =-1 ; +static int hwcur =0 ; +static int noaccel =0 ; +static int noscale =0 ; +static int paneltweak =0 ; +static int vram =0 ; +static int bpp =8 ; +static int reverse_i2c;#ifdef CONFIG_MTRR -static bool nomtrr__devinitdata = false; +static bool nomtrr = false;#endif #ifdef CONFIG_PMAC_BACKLIGHT -static int backlight__devinitdata =1 ; +static int backlight =1 ;#else -static int backlight__devinitdata =0 ; +static int backlight =0 ;#endif -static char *mode_option__devinitdata =NULL ; +static char *mode_option =NULL ; -static struct fb_fix_screeninfo __devinitdata nvidiafb_fix = { +static struct fb_fix_screeninfo nvidiafb_fix = { .type =FB_TYPE_PACKED_PIXELS , .xpanstep =8 , .ypanstep =1 , }; -static struct fb_var_screeninfo __devinitdata nvidiafb_default_var = { +static struct fb_var_screeninfo nvidiafb_default_var = { .xres =640 , .yres =480 , .xres_virtual =640 ,
drivers/video/pm2fb.c +5 -5
@@ -67,7 +67,7 @@* Driver data */ static int hwcursor =1 ; -static char *mode_option__devinitdata ; +static char *mode_option;/* * The XFree GLINT driver will (I think to implement hardware cursor
@@ -80,10 +80,10 @@ static char *mode_option __devinitdata;*/ static bool lowhsync;static bool lowvsync; -static bool noaccel__devinitdata ; +static bool noaccel;/* mtrr option */ #ifdef CONFIG_MTRR -static bool nomtrr__devinitdata ; +static bool nomtrr;#endif /*
@@ -107,7 +107,7 @@ struct pm2fb_par* Here we define the default structs fb_fix_screeninfo and fb_var_screeninfo * if we don't use modedb. */ -static struct fb_fix_screeninfo pm2fb_fix__devinitdata = { +static struct fb_fix_screeninfo pm2fb_fix = { .id ="" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR ,
@@ -120,7 +120,7 @@ static struct fb_fix_screeninfo pm2fb_fix __devinitdata = {/* * Default video mode. In case the modedb doesn't work. */ -static struct fb_var_screeninfo pm2fb_var__devinitdata = { +static struct fb_var_screeninfo pm2fb_var = {/* "640x480, 8 bpp @ 60 Hz */ .xres =640 , .yres =480 ,
drivers/video/pm3fb.c +4 -4
@@ -56,12 +56,12 @@* Driver data */ static int hwcursor =1 ; -static char *mode_option__devinitdata ; -static bool noaccel__devinitdata ; +static char *mode_option; +static bool noaccel;/* mtrr option */ #ifdef CONFIG_MTRR -static bool nomtrr__devinitdata ; +static bool nomtrr;#endif /*
@@ -84,7 +84,7 @@ struct pm3_par {* if we don't use modedb. If we do use modedb see pm3fb_init how to use it * to get a fb_var_screeninfo. Otherwise define a default var as well. */ -static struct fb_fix_screeninfo pm3fb_fix__devinitdata = { +static struct fb_fix_screeninfo pm3fb_fix = { .id ="Permedia3" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR ,
drivers/video/pmag-ba-fb.c +2 -2
@@ -43,7 +43,7 @@ struct pmagbafb_par { }; -static struct fb_var_screeninfo pmagbafb_defined__devinitdata = { +static struct fb_var_screeninfo pmagbafb_defined = { .xres =1024 , .yres =864 , .xres_virtual =1024 ,
@@ -67,7 +67,7 @@ static struct fb_var_screeninfo pmagbafb_defined __devinitdata = { .vmode = FB_VMODE_NONINTERLACED, }; -static struct fb_fix_screeninfo pmagbafb_fix__devinitdata = { +static struct fb_fix_screeninfo pmagbafb_fix = { .id ="PMAG-BA" , .smem_len = (1024 *1024 ), .type =FB_TYPE_PACKED_PIXELS ,
drivers/video/pmagb-b-fb.c +3 -3
@@ -44,7 +44,7 @@ struct pmagbbfb_par { }; -static struct fb_var_screeninfo pmagbbfb_defined__devinitdata = { +static struct fb_var_screeninfo pmagbbfb_defined = { .bits_per_pixel =8 , .red.length =8 , .green.length =8 ,
@@ -57,7 +57,7 @@ static struct fb_var_screeninfo pmagbbfb_defined __devinitdata = { .vmode = FB_VMODE_NONINTERLACED, }; -static struct fb_fix_screeninfo pmagbbfb_fix__devinitdata = { +static struct fb_fix_screeninfo pmagbbfb_fix = { .id ="PMAGB-BA" , .smem_len = (2048 *1024 ), .type =FB_TYPE_PACKED_PIXELS ,
@@ -181,7 +181,7 @@ static void pmagbbfb_screen_setup(struct fb_info *info)*/ static void pmagbbfb_osc_setup (struct fb_info *info) { -static unsigned int pmagbbfb_freqs[]__devinitdata = { +static unsigned int pmagbbfb_freqs[] = {130808 ,119843 ,104000 ,92980 ,74370 ,72800 ,69197 ,66000 ,65000 ,50350 ,36000 ,32000 ,25175 };
drivers/video/ps3fb.c +1 -1
@@ -259,7 +259,7 @@ static const struct fb_videomode ps3fb_modedb[] = {static int ps3fb_mode;module_param (ps3fb_mode, int,0 ); -static char *mode_option__devinitdata ; +static char *mode_option;static int ps3fb_cmp_mode (const struct fb_videomode *vmode,const struct fb_var_screeninfo *var)
drivers/video/pvr2fb.c +7 -7
@@ -112,11 +112,11 @@ enum { VO_PAL, VO_NTSC, VO_VGA };enum {PAL_ARGB1555 ,PAL_RGB565 ,PAL_ARGB4444 ,PAL_ARGB8888 };struct pvr2_params {unsigned int val;char *name; }; -static struct pvr2_params cables[]__devinitdata = { +static struct pvr2_params cables[] = { {CT_VGA ,"VGA" }, {CT_RGB ,"RGB" }, {CT_COMPOSITE ,"COMPOSITE" }, }; -static struct pvr2_params outputs[]__devinitdata = { +static struct pvr2_params outputs[] = { {VO_PAL ,"PAL" }, {VO_NTSC ,"NTSC" }, {VO_VGA ,"VGA" }, };
@@ -145,7 +145,7 @@ static struct pvr2fb_par {static struct fb_info *fb_info; -static struct fb_fix_screeninfo pvr2_fix__devinitdata = { +static struct fb_fix_screeninfo pvr2_fix = { .id ="NEC PowerVR2" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_TRUECOLOR ,
@@ -154,7 +154,7 @@ static struct fb_fix_screeninfo pvr2_fix __devinitdata = { .accel = FB_ACCEL_NONE, }; -static struct fb_var_screeninfo pvr2_var__devinitdata = { +static struct fb_var_screeninfo pvr2_var = { .xres =640 , .yres =480 , .xres_virtual =640 ,
@@ -226,7 +226,7 @@ static struct fb_ops pvr2fb_ops = { .fb_imageblit = cfb_imageblit, }; -static struct fb_videomode pvr2_modedb[]__devinitdata = { +static struct fb_videomode pvr2_modedb[] = {/* * Broadcast video modes (PAL and NTSC). I'm unfamiliar with * PAL-M and PAL-N, but from what I've read both modes parallel PAL and
@@ -256,7 +256,7 @@ static struct fb_videomode pvr2_modedb[] __devinitdata = {#define DEFMODE_VGA 2static int defmode =DEFMODE_NTSC ; -static char *mode_option__devinitdata =NULL ; +static char *mode_option =NULL ;static inline void pvr2fb_set_pal_type (unsigned int type) {
@@ -967,7 +967,7 @@ static void __devexit pvr2fb_pci_remove(struct pci_dev *pdev)pci_release_regions (pdev); } -static struct pci_device_id pvr2fb_pci_tbl[]__devinitdata = { +static struct pci_device_id pvr2fb_pci_tbl[] = { {PCI_VENDOR_ID_NEC ,PCI_DEVICE_ID_NEC_NEON250 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0 , },
drivers/video/pxafb.c +1 -1
@@ -2031,7 +2031,7 @@ static int pxafb_parse_options(struct device *dev, char *options)return 0 ; } -static char g_options[256 ]__devinitdata ="" ; +static char g_options[256 ] ="" ;#ifndef MODULE static int __init pxafb_setup_options (void )
drivers/video/q40fb.c +2 -2
@@ -27,7 +27,7 @@#define Q40_PHYS_SCREEN_ADDR 0xFE800000 -static struct fb_fix_screeninfo q40fb_fix__devinitdata = { +static struct fb_fix_screeninfo q40fb_fix = { .id ="Q40" , .smem_len =1024 *1024 , .type =FB_TYPE_PACKED_PIXELS ,
@@ -36,7 +36,7 @@ static struct fb_fix_screeninfo q40fb_fix __devinitdata = { .accel = FB_ACCEL_NONE, }; -static struct fb_var_screeninfo q40fb_var__devinitdata = { +static struct fb_var_screeninfo q40fb_var = { .xres =1024 , .yres =512 , .xres_virtual =1024 ,
drivers/video/riva/fbdev.c +9 -9
@@ -205,28 +205,28 @@ MODULE_DEVICE_TABLE(pci, rivafb_pci_tbl);* ------------------------------------------------------------------------- */ /* command line data, set in rivafb_setup() */ -static int flatpanel__devinitdata =-1 ;/* Autodetect later */ -static int forceCRTC__devinitdata =-1 ; -static bool noaccel__devinitdata =0 ; +static int flatpanel =-1 ;/* Autodetect later */ +static int forceCRTC =-1 ; +static bool noaccel =0 ;#ifdef CONFIG_MTRR -static bool nomtrr__devinitdata =0 ; +static bool nomtrr =0 ;#endif #ifdef CONFIG_PMAC_BACKLIGHT -static int backlight__devinitdata =1 ; +static int backlight =1 ;#else -static int backlight__devinitdata =0 ; +static int backlight =0 ;#endif -static char *mode_option__devinitdata =NULL ; +static char *mode_option =NULL ;static bool strictmode =0 ; -static struct fb_fix_screeninfo __devinitdata rivafb_fix = { +static struct fb_fix_screeninfo rivafb_fix = { .type =FB_TYPE_PACKED_PIXELS , .xpanstep =1 , .ypanstep =1 , }; -static struct fb_var_screeninfo __devinitdata rivafb_default_var = { +static struct fb_var_screeninfo rivafb_default_var = { .xres =640 , .yres =480 , .xres_virtual =640 ,
drivers/video/s1d13xxxfb.c +2 -2
@@ -84,7 +84,7 @@ static const char *s1d13xxxfb_prod_names[] = {/* * here we define the default struct fb_fix_screeninfo */ -static struct fb_fix_screeninfo __devinitdata s1d13xxxfb_fix = { +static struct fb_fix_screeninfo s1d13xxxfb_fix = { .id =S1D_FBID , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR ,
@@ -622,7 +622,7 @@ static struct fb_ops s1d13xxxfb_fbops = { .fb_imageblit = cfb_imageblit, }; -static int s1d13xxxfb_width_tab[2 ][4 ]__devinitdata = { +static int s1d13xxxfb_width_tab[2 ][4 ] = { {4 ,8 ,16 ,-1 }, {9 ,12 ,18 ,-1 }, };
drivers/video/s3fb.c +3 -3
@@ -153,10 +153,10 @@ static const struct svga_timing_regs s3_timing_regs = {/* Module parameters */ -static char *mode_option__devinitdata ; +static char *mode_option;#ifdef CONFIG_MTRR -static int mtrr__devinitdata =1 ; +static int mtrr =1 ;#endif static int fasttext =1 ;
@@ -1509,7 +1509,7 @@ static int s3_pci_resume(struct pci_dev* dev)/* List of boards that we are trying to support */ -static struct pci_device_id s3_devices[]__devinitdata = { +static struct pci_device_id s3_devices[] = { {PCI_DEVICE (PCI_VENDOR_ID_S3 ,0x8810 ), .driver_data =CHIP_XXX_TRIO }, {PCI_DEVICE (PCI_VENDOR_ID_S3 ,0x8811 ), .driver_data =CHIP_XXX_TRIO }, {PCI_DEVICE (PCI_VENDOR_ID_S3 ,0x8812 ), .driver_data =CHIP_M65_AURORA64VP },
drivers/video/sa1100fb.c +1 -1
@@ -1116,7 +1116,7 @@ static int sa1100fb_map_video_memory(struct sa1100fb_info *fbi) }/* Fake monspecs to fill in fbinfo structure */ -static struct fb_monspecs monspecs__devinitdata = { +static struct fb_monspecs monspecs = { .hfmin =30000 , .hfmax =70000 , .vfmin =50 ,
drivers/video/savage/savagefb_driver.c +3 -3
@@ -69,7 +69,7 @@/* --------------------------------------------------------------------- */ -static char *mode_option__devinitdata =NULL ; +static char *mode_option =NULL ;#ifdef MODULE
@@ -1664,7 +1664,7 @@ static struct fb_ops savagefb_ops = {/* --------------------------------------------------------------------- */ -static struct fb_var_screeninfo __devinitdata savagefb_var800x600x8 = { +static struct fb_var_screeninfo savagefb_var800x600x8 = { .accel_flags =FB_ACCELF_TEXT , .xres =800 , .yres =600 ,
@@ -2449,7 +2449,7 @@ static int savagefb_resume(struct pci_dev* dev) } -static struct pci_device_id savagefb_devices[]__devinitdata = { +static struct pci_device_id savagefb_devices[] = { {PCI_VENDOR_ID_S3 ,PCI_CHIP_SUPSAV_MX128 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,FB_ACCEL_SUPERSAVAGE },
drivers/video/sgivwfb.c +3 -3
@@ -47,7 +47,7 @@ static int ywrap = 0;static int flatpanel_id =-1 ; -static struct fb_fix_screeninfo sgivwfb_fix__devinitdata = { +static struct fb_fix_screeninfo sgivwfb_fix = { .id ="SGI Vis WS FB" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR ,
@@ -57,7 +57,7 @@ static struct fb_fix_screeninfo sgivwfb_fix __devinitdata = { .line_length = 640, }; -static struct fb_var_screeninfo sgivwfb_var__devinitdata = { +static struct fb_var_screeninfo sgivwfb_var = {/* 640x480, 8 bpp */ .xres =640 , .yres =480 ,
@@ -79,7 +79,7 @@ static struct fb_var_screeninfo sgivwfb_var __devinitdata = { .vmode = FB_VMODE_NONINTERLACED }; -static struct fb_var_screeninfo sgivwfb_var1600sw__devinitdata = { +static struct fb_var_screeninfo sgivwfb_var1600sw = {/* 1600x1024, 8 bpp */ .xres =1600 , .yres =1024 ,
drivers/video/sis/sis_main.h +10 -10
@@ -98,7 +98,7 @@ static struct sisfb_chip_info {int hwcursor_size;int CRT2_write_enable;const char *chip_name; -} sisfb_chip_info[] __devinitdata = { +} sisfb_chip_info[] = { { SIS_300, SIS_300_VGA, 0, HW_CURSOR_AREA_SIZE_300 * 2, SIS_CRT2_WENABLE_300, "SiS 300/305" }, { SIS_540, SIS_300_VGA, 0, HW_CURSOR_AREA_SIZE_300 * 2, SIS_CRT2_WENABLE_300, "SiS 540" }, { SIS_630, SIS_300_VGA, 0, HW_CURSOR_AREA_SIZE_300 * 2, SIS_CRT2_WENABLE_300, "SiS 630" },
@@ -113,7 +113,7 @@ static struct sisfb_chip_info { { XGI_40, SIS_315_VGA, 1, HW_CURSOR_AREA_SIZE_315 * 4, SIS_CRT2_WENABLE_315, "XGI V3XT/V5/V8" }, }; -static struct pci_device_id __devinitdata sisfb_pci_table[] = { +static struct pci_device_id sisfb_pci_table[] = { #ifdef CONFIG_FB_SIS_300 { PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, { PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_540_VGA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
@@ -317,7 +317,7 @@ static struct _sis_lcd_data {u16 xres;u16 yres;u8 default_mode_idx; -} sis_lcd_data[] __devinitdata = { +} sis_lcd_data[] = { { LCD_640x480, 640, 480, 23 }, { LCD_800x600, 800, 600, 43 }, { LCD_1024x600, 1024, 600, 67 },
@@ -339,21 +339,21 @@ static struct _sis_lcd_data { };/* CR36 evaluation */ -static unsigned short sis300paneltype[]__devinitdata = { +static unsigned short sis300paneltype[] = {LCD_UNKNOWN , LCD_800x600, LCD_1024x768, LCD_1280x1024, LCD_1280x960, LCD_640x480, LCD_1024x600, LCD_1152x768,LCD_UNKNOWN ,LCD_UNKNOWN ,LCD_UNKNOWN ,LCD_UNKNOWN ,LCD_UNKNOWN ,LCD_UNKNOWN ,LCD_UNKNOWN ,LCD_UNKNOWN }; -static unsigned short sis310paneltype[]__devinitdata = { +static unsigned short sis310paneltype[] = {LCD_UNKNOWN , LCD_800x600, LCD_1024x768, LCD_1280x1024, LCD_640x480, LCD_1024x600, LCD_1152x864, LCD_1280x960, LCD_1152x768, LCD_1400x1050, LCD_1280x768, LCD_1600x1200, LCD_320x240_2, LCD_320x240_3,LCD_UNKNOWN ,LCD_UNKNOWN }; -static unsigned short sis661paneltype[]__devinitdata = { +static unsigned short sis661paneltype[] = {LCD_UNKNOWN , LCD_800x600, LCD_1024x768, LCD_1280x1024, LCD_640x480, LCD_1024x600, LCD_1152x864, LCD_1280x960, LCD_1280x854, LCD_1400x1050, LCD_1280x768, LCD_1600x1200,
@@ -466,7 +466,7 @@ static struct _sisfbddcsmodes {u16 h;u16 v;u32 d; -} sisfb_ddcsmodes[] __devinitdata = { +} sisfb_ddcsmodes[] = { { 0x10000, 67, 75, 108000}, { 0x08000, 48, 72, 50000}, { 0x04000, 46, 75, 49500},
@@ -488,7 +488,7 @@ static struct _sisfbddcfmodes {u16 v;u16 h;u32 d; -} sisfb_ddcfmodes[] __devinitdata = { +} sisfb_ddcfmodes[] = { { 1280, 1024, 85, 92, 157500}, { 1600, 1200, 60, 75, 162000}, { 1600, 1200, 65, 82, 175500},
@@ -505,7 +505,7 @@ static struct _chswtable {u16 subsysCard;char *vendorName;char *cardName; -} mychswtable[] __devinitdata = { +} mychswtable[] = { { 0x1631, 0x1002, "Mitachi", "0x1002" }, { 0x1071, 0x7521, "Mitac" , "7521P" }, { 0, 0, "" , "" }
@@ -525,7 +525,7 @@ static struct _customttable {char *cardName;u32 SpecialID;char *optionName; -} mycustomttable[] __devinitdata = { +} mycustomttable[] = { {SIS_630 ,"2.00.07" ,"09/27/2002-13:38:25" ,0x3240A8 , { 0x220, 0x227, 0x228, 0x229, 0x0ee },
drivers/video/skeletonfb.c +3 -4
@@ -63,7 +63,7 @@/* * Driver data */ -static char *mode_option__devinitdata ; +static char *mode_option;/* * If your driver supports multiple boards, you should make the
@@ -84,7 +84,7 @@ struct xxx_par;* if we don't use modedb. If we do use modedb see xxxfb_init how to use it * to get a fb_var_screeninfo. Otherwise define a default var as well. */ -static struct fb_fix_screeninfo xxxfb_fix__devinitdata = { +static struct fb_fix_screeninfo xxxfb_fix = { .id ="FB's name" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR ,
@@ -706,8 +706,7 @@ static int xxxfb_probe(struct pci_dev *dev, info->screen_base = framebuffer_virtual_memory; info->fbops = &xxxfb_ops; info->fix = xxxfb_fix;/* this will be the only time xxxfb_fix will be -* used, so mark it as __devinitdata -*/ +* used, so mark it as */ info->pseudo_palette = pseudo_palette;/* The pseudopalette is an * 16-member array */
drivers/video/sm501fb.c +1 -1
@@ -46,7 +46,7 @@static char *fb_mode ="640x480-16 at 60" ;static unsigned long default_bpp =16 ; -static struct fb_videomode __devinitdata sm501_default_mode = { +static struct fb_videomode sm501_default_mode = { .refresh =60 , .xres =640 , .yres =480 ,
drivers/video/sstfb.c +3 -3
@@ -104,7 +104,7 @@ static bool slowpci; /* slow PCI settings */*/ #define DEFAULT_VIDEO_MODE "640x480 at 60" -static char *mode_option__devinitdata =DEFAULT_VIDEO_MODE ; +static char *mode_option =DEFAULT_VIDEO_MODE ;enum {ID_VOODOO1 =0 ,
@@ -113,7 +113,7 @@ enum {#define IS_VOODOO2 (par) ((par)->type == ID_VOODOO2) -static struct sst_spec voodoo_spec[]__devinitdata = { +static struct sst_spec voodoo_spec[] = { { .name ="Voodoo Graphics" , .default_gfx_clock =50000 , .max_gfxclk =60 }, { .name ="Voodoo2" , .default_gfx_clock =75000 , .max_gfxclk =85 }, };
@@ -1105,7 +1105,7 @@ static void sst_set_vidmod_ics(struct fb_info *info, const int bpp)*/ -static struct dac_switch dacs[]__devinitdata = { +static struct dac_switch dacs[] = { { .name ="TI TVP3409" , .detect = sst_detect_ti, .set_pll = sst_set_pll_att_ti,
drivers/video/tdfxfb.c +4 -4
@@ -100,7 +100,7 @@ static inline int mtrr_del(int reg, unsigned long base,#define VOODOO3_MAX_PIXCLOCK 300000#define VOODOO5_MAX_PIXCLOCK 350000 -static struct fb_fix_screeninfo tdfx_fix__devinitdata = { +static struct fb_fix_screeninfo tdfx_fix = { .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR , .ypanstep =1 ,
@@ -108,7 +108,7 @@ static struct fb_fix_screeninfo tdfx_fix __devinitdata = { .accel = FB_ACCEL_3DFX_BANSHEE }; -static struct fb_var_screeninfo tdfx_var__devinitdata = { +static struct fb_var_screeninfo tdfx_var = {/* "640x480, 8 bpp @ 60 Hz */ .xres =640 , .yres =480 ,
@@ -167,9 +167,9 @@ MODULE_DEVICE_TABLE(pci, tdfxfb_id_table);static int nopan;static int nowrap =1 ;/* not implemented (yet) */ static int hwcursor =1 ; -static char *mode_option__devinitdata ; +static char *mode_option;/* mtrr option */ -static bool nomtrr__devinitdata ; +static bool nomtrr;/* ------------------------------------------------------------------------- * Hardware-specific funcions
drivers/video/tmiofb.c +1 -1
@@ -191,7 +191,7 @@#define LCR_VCLKHW 0x1b4/* VCLK High Width */ #define LCR_OC 0x1b6/* Output Control */ -static char *mode_option__devinitdata ; +static char *mode_option;struct tmiofb_par {u32 pseudo_palette[16 ];
drivers/video/tridentfb.c +7 -7
@@ -53,19 +53,19 @@ static struct fb_fix_screeninfo tridentfb_fix = {/* defaults which are normally overriden by user values */ /* video mode */ -static char *mode_option__devinitdata ="640x480-8 at 60" ; -static int bpp__devinitdata =8 ; +static char *mode_option ="640x480-8 at 60" ; +static int bpp =8 ; -static int noaccel__devinitdata ; +static int noaccel;static int center;static int stretch; -static int fp__devinitdata ; -static int crt__devinitdata ; +static int fp; +static int crt; -static int memsize__devinitdata ; -static int memdiff__devinitdata ; +static int memsize; +static int memdiff;static int nativex;module_param (mode_option, charp,0 );
drivers/video/uvesafb.c +12 -12
@@ -36,26 +36,26 @@ static struct cb_id uvesafb_cn_id = {static char v86d_path[PATH_MAX ] ="/sbin/v86d" ;static char v86d_started;/* has v86d been started by uvesafb? */ -static struct fb_fix_screeninfo uvesafb_fix__devinitdata = { +static struct fb_fix_screeninfo uvesafb_fix = { .id ="VESA VGA" , .type =FB_TYPE_PACKED_PIXELS , .accel =FB_ACCEL_NONE , .visual =FB_VISUAL_TRUECOLOR , }; -static int mtrr__devinitdata =3 ;/* enable mtrr by default */ +static int mtrr =3 ;/* enable mtrr by default */ static bool blank =1 ;/* enable blanking by default */ static int ypan =1 ;/* 0: scroll, 1: ypan, 2: ywrap */ -static bool pmi_setpal__devinitdata = true;/* use PMI for palette changes */ -static bool nocrtc__devinitdata ;/* ignore CRTC settings */ -static bool noedid__devinitdata ;/* don't try DDC transfers */ -static int vram_remap__devinitdata ;/* set amt. of memory to be used */ -static int vram_total__devinitdata ;/* set total amount of memory */ -static u16 maxclk__devinitdata ;/* maximum pixel clock */ -static u16 maxvf__devinitdata ;/* maximum vertical frequency */ -static u16 maxhf__devinitdata ;/* maximum horizontal frequency */ -static u16 vbemode__devinitdata ;/* force use of a specific VBE mode */ -static char *mode_option__devinitdata ; +static bool pmi_setpal = true;/* use PMI for palette changes */ +static bool nocrtc;/* ignore CRTC settings */ +static bool noedid;/* don't try DDC transfers */ +static int vram_remap;/* set amt. of memory to be used */ +static int vram_total;/* set total amount of memory */ +static u16 maxclk;/* maximum pixel clock */ +static u16 maxvf;/* maximum vertical frequency */ +static u16 maxhf;/* maximum horizontal frequency */ +static u16 vbemode;/* force use of a specific VBE mode */ +static char *mode_option;static u8 dac_width =6 ;static struct uvesafb_ktask *uvfb_tasks[UVESAFB_TASKS_MAX ];
drivers/video/vfb.c +2 -2
@@ -78,7 +78,7 @@ static void rvfree(void *mem, unsigned long size)vfree (mem); } -static struct fb_var_screeninfo vfb_default__devinitdata = { +static struct fb_var_screeninfo vfb_default = { .xres =640 , .yres =480 , .xres_virtual =640 ,
@@ -100,7 +100,7 @@ static struct fb_var_screeninfo vfb_default __devinitdata = { .vmode = FB_VMODE_NONINTERLACED, }; -static struct fb_fix_screeninfo vfb_fix__devinitdata = { +static struct fb_fix_screeninfo vfb_fix = { .id ="Virtual FB" , .type =FB_TYPE_PACKED_PIXELS , .visual =FB_VISUAL_PSEUDOCOLOR ,
drivers/video/vga16fb.c +2 -2
@@ -65,7 +65,7 @@ struct vga16fb_par {/* --------------------------------------------------------------------- */ -static struct fb_var_screeninfo vga16fb_defined__devinitdata = { +static struct fb_var_screeninfo vga16fb_defined = { .xres =640 , .yres =480 , .xres_virtual =640 ,
@@ -85,7 +85,7 @@ static struct fb_var_screeninfo vga16fb_defined __devinitdata = { };/* name should not depend on EGA/VGA */ -static struct fb_fix_screeninfo vga16fb_fix__devinitdata = { +static struct fb_fix_screeninfo vga16fb_fix = { .id ="VGA16 VGA" , .smem_start =VGA_FB_PHYS , .smem_len =VGA_FB_PHYS_LEN ,
drivers/video/via/via-core.c +1 -1
@@ -725,7 +725,7 @@ static void __devexit via_pci_remove(struct pci_dev *pdev) } -static struct pci_device_id via_pci_table[]__devinitdata = { +static struct pci_device_id via_pci_table[] = { {PCI_DEVICE (PCI_VENDOR_ID_VIA ,UNICHROME_CLE266_DID ), .driver_data =UNICHROME_CLE266 }, {PCI_DEVICE (PCI_VENDOR_ID_VIA ,UNICHROME_K400_DID ),
drivers/video/vt8623fb.c +1 -1
@@ -906,7 +906,7 @@ fail:/* List of boards that we are trying to support */ -static struct pci_device_id vt8623_devices[]__devinitdata = { +static struct pci_device_id vt8623_devices[] = { {PCI_DEVICE (PCI_VENDOR_ID_VIA ,0x3122 )}, {0 ,0 ,0 ,0 ,0 ,0 ,0 } };
drivers/video/xilinxfb.c +1 -1
@@ -491,7 +491,7 @@ static int __devexit xilinxfb_of_remove(struct platform_device *op) }/* Match table for of_platform binding */ -static struct of_device_id xilinxfb_of_match[]__devinitdata = { +static struct of_device_id xilinxfb_of_match[] = { { .compatible ="xlnx,xps-tft-1.00.a" , }, { .compatible ="xlnx,xps-tft-2.00.a" , }, { .compatible ="xlnx,xps-tft-2.01.a" , },
Signature · 1 line
1.8.0
PATCH 298/493 video: remove use of __devinitdata
Quoted 3 lines · Bill Pemberton
drivers/video/acornfb.c | 8 +++--- drivers/video/cyber2000fb.c | 2 +- drivers/video/sa1100fb.c | 2 +-
For these three,
PATCH 300/493 atm: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/atm/firestream.c | 2 +- drivers/atm/nicstar.c | 2 +- drivers/atm/solos-pci.c | 2 +- drivers/atm/zatm.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/atm/firestream.c +1 -1
@@ -252,7 +252,7 @@ struct reginit_item { }; -static struct reginit_item PHY_NTC_INIT []__devinitdata = { +static struct reginit_item PHY_NTC_INIT [] = { {PHY_CLEARALL ,0x40 }, {0x12 ,0x0001 }, {0x13 ,0x7605 },
drivers/atm/nicstar.c +1 -1
@@ -262,7 +262,7 @@ static void __devexit nicstar_remove_one(struct pci_dev *pcidev)kfree (card); } -static struct pci_device_id nicstar_pci_tbl[]__devinitdata = { +static struct pci_device_id nicstar_pci_tbl[] = { {PCI_VDEVICE (IDT ,PCI_DEVICE_ID_IDT_IDT77201 ),0 }, {0 ,}/* terminate list */ };
drivers/atm/solos-pci.c +1 -1
@@ -1328,7 +1328,7 @@ static void fpga_remove(struct pci_dev *dev)kfree (card); } -static struct pci_device_id fpga_pci_tbl[]__devinitdata = { +static struct pci_device_id fpga_pci_tbl[] = { {0x10ee ,0x0300 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0 , } };
drivers/atm/zatm.c +1 -1
@@ -1636,7 +1636,7 @@ out_free:MODULE_LICENSE ("GPL" ); -static struct pci_device_id zatm_pci_tbl[]__devinitdata = { +static struct pci_device_id zatm_pci_tbl[] = { {PCI_VDEVICE (ZEITNET ,PCI_DEVICE_ID_ZEITNET_1221 ),ZATM_COPPER }, {PCI_VDEVICE (ZEITNET ,PCI_DEVICE_ID_ZEITNET_1225 ),0 }, {0 , }
Signature · 1 line
1.8.0
PATCH 303/493 crypto: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/crypto/n2_core.c | 2 +- drivers/crypto/nx/nx.c | 2 +- drivers/crypto/tegra-aes.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/crypto/n2_core.c +1 -1
@@ -34,7 +34,7 @@#define DRV_MODULE_VERSION "0.2"#define DRV_MODULE_RELDATE "July 28, 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 ([email protected])" );
drivers/crypto/nx/nx.c +1 -1
@@ -689,7 +689,7 @@ static void __exit nx_fini(void)vio_unregister_driver (&nx_driver.viodriver); } -static struct vio_device_id nx_crypto_driver_ids[]__devinitdata = { +static struct vio_device_id nx_crypto_driver_ids[] = { {"ibm,sym-encryption-v1" ,"ibm,sym-encryption" }, {"" ,"" } };
drivers/crypto/tegra-aes.c +1 -1
@@ -1074,7 +1074,7 @@ static int __devexit tegra_aes_remove(struct platform_device *pdev)return 0 ; } -static struct of_device_id tegra_aes_of_match[]__devinitdata = { +static struct of_device_id tegra_aes_of_match[] = { { .compatible ="nvidia,tegra20-aes" , }, { .compatible ="nvidia,tegra30-aes" , }, { },
Signature · 1 line
1.8.0
PATCH 307/493 ide: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/ide/delkin_cb.c | 2 +- drivers/ide/palm_bk3710.c | 2 +- drivers/ide/sgiioc4.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/ide/delkin_cb.c +1 -1
@@ -158,7 +158,7 @@ static int delkin_cb_resume(struct pci_dev *dev)#define delkin_cb_resume NULL#endif -static struct pci_device_id delkin_cb_pci_tbl[]__devinitdata = { +static struct pci_device_id delkin_cb_pci_tbl[] = { {0x1145 ,0xf021 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0x1145 ,0xf024 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0 , },
drivers/ide/palm_bk3710.c +1 -1
@@ -301,7 +301,7 @@ static const struct ide_port_ops palm_bk3710_ports_ops = { .cable_detect = palm_bk3710_cable_detect, }; -static struct ide_port_info __devinitdata palm_bk3710_port_info = { +static struct ide_port_info palm_bk3710_port_info = { .init_dma = palm_bk3710_init_dma, .port_ops = &palm_bk3710_ports_ops, .dma_ops = &sff_dma_ops,
drivers/ide/sgiioc4.c +1 -1
@@ -613,7 +613,7 @@ int ioc4_ide_attach_one(struct ioc4_driver_data *idd)return pci_init_sgiioc4 (idd->idd_pdev); } -static struct ioc4_submodule __devinitdata ioc4_ide_submodule = { +static struct ioc4_submodule ioc4_ide_submodule = { .is_name ="IOC4_ide" , .is_owner =THIS_MODULE , .is_probe = ioc4_ide_attach_one,
Signature · 1 line
1.8.0
PATCH 309/493 input: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/input/keyboard/tegra-kbc.c | 4 ++-- drivers/input/misc/bma150.c | 2 +- drivers/input/touchscreen/mms114.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
drivers/input/keyboard/tegra-kbc.c +2 -2
@@ -87,7 +87,7 @@ struct tegra_kbc {struct clk *clk; }; -static const u32 tegra_kbc_default_keymap[]__devinitdata = { +static const u32 tegra_kbc_default_keymap[] = {KEY (0 ,2 ,KEY_W ),KEY (0 ,3 ,KEY_S ),KEY (0 ,4 ,KEY_A ),
@@ -223,7 +223,7 @@ static const u32 tegra_kbc_default_keymap[] __devinitdata = { };static const -struct matrix_keymap_data tegra_kbc_default_keymap_data__devinitdata = { +struct matrix_keymap_data tegra_kbc_default_keymap_data = { .keymap = tegra_kbc_default_keymap, .keymap_size =ARRAY_SIZE (tegra_kbc_default_keymap), };
drivers/input/misc/bma150.c +1 -1
@@ -158,7 +158,7 @@ struct bma150_data {* are stated and verified by Bosch Sensortec where they are configured * to provide a generic sensitivity performance. */ -static struct bma150_cfg default_cfg__devinitdata = { +static struct bma150_cfg default_cfg = { .any_motion_int =1 , .hg_int =1 , .lg_int =1 ,
drivers/input/touchscreen/mms114.c +1 -1
@@ -576,7 +576,7 @@ static const struct i2c_device_id mms114_id[] = {MODULE_DEVICE_TABLE (i2c, mms114_id);#ifdef CONFIG_OF -static struct of_device_id __devinitdata mms114_dt_match[] = { +static struct of_device_id mms114_dt_match[] = { { .compatible ="melfas,mms114" }, { } };
Signature · 1 line
1.8.0
PATCH 311/493 isdn: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/isdn/hardware/mISDN/avmfritz.c | 2 +- drivers/isdn/hardware/mISDN/hfcmulti.c | 2 +- drivers/isdn/hardware/mISDN/mISDNinfineon.c | 2 +- drivers/isdn/hardware/mISDN/netjet.c | 2 +- drivers/isdn/hardware/mISDN/speedfax.c | 2 +- drivers/isdn/hisax/asuscom.c | 6 +++--- drivers/isdn/hisax/avm_pci.c | 4 ++-- drivers/isdn/hisax/bkm_a4t.c | 2 +- drivers/isdn/hisax/bkm_a8.c | 12 ++++++------ drivers/isdn/hisax/config.c | 10 +++++----- drivers/isdn/hisax/diva.c | 14 +++++++------- drivers/isdn/hisax/elsa.c | 10 +++++----- drivers/isdn/hisax/enternow_pci.c | 2 +- drivers/isdn/hisax/gazel.c | 2 +- drivers/isdn/hisax/hfc_pci.c | 2 +- drivers/isdn/hisax/hfc_sx.c | 6 +++--- drivers/isdn/hisax/hfcscard.c | 6 +++--- drivers/isdn/hisax/hisax_fcpcipnp.c | 2 +- drivers/isdn/hisax/isac.c | 2 +- drivers/isdn/hisax/isurf.c | 2 +- drivers/isdn/hisax/ix1_micro.c | 6 +++--- drivers/isdn/hisax/niccy.c | 4 ++-- drivers/isdn/hisax/nj_s.c | 2 +- drivers/isdn/hisax/nj_u.c | 2 +- drivers/isdn/hisax/sedlbauer.c | 8 ++++---- drivers/isdn/hisax/teles3.c | 6 +++--- drivers/isdn/hisax/telespci.c | 2 +- drivers/isdn/hisax/w6692.c | 2 +- 28 files changed, 62 insertions(+), 62 deletions(-)
drivers/isdn/hardware/mISDN/avmfritz.c +1 -1
@@ -1142,7 +1142,7 @@ fritz_remove_pci(struct pci_dev *pdev)pr_info ("%s: drvdata already removed\n" , __func__); } -static struct pci_device_id fcpci_ids[]__devinitdata = { +static struct pci_device_id fcpci_ids[] = { {PCI_VENDOR_ID_AVM ,PCI_DEVICE_ID_AVM_A1 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , (unsigned long )"Fritz!Card PCI" }, {PCI_VENDOR_ID_AVM ,PCI_DEVICE_ID_AVM_A1_V2 ,PCI_ANY_ID ,PCI_ANY_ID ,
drivers/isdn/hardware/mISDN/hfcmulti.c +1 -1
@@ -5351,7 +5351,7 @@ static const struct hm_map hfcm_map[] = {#undef H#define H (x) ((unsigned long)&hfcm_map[x]) -static struct pci_device_id hfmultipci_ids[]__devinitdata = { +static struct pci_device_id hfmultipci_ids[] = {/* Cards with HFC-4S Chip */ {PCI_VENDOR_ID_CCD ,PCI_DEVICE_ID_CCD_HFC4S ,PCI_VENDOR_ID_CCD ,
drivers/isdn/hardware/mISDN/mISDNinfineon.c +1 -1
@@ -125,7 +125,7 @@ struct inf_hw {#define PCI_SUBVENDOR_SEDLBAUER_PCI 0x53#define PCI_SUB_ID_SEDLBAUER 0x01 -static struct pci_device_id infineon_ids[]__devinitdata = { +static struct pci_device_id infineon_ids[] = { {PCI_VDEVICE (EICON ,PCI_DEVICE_ID_EICON_DIVA20 ),INF_DIVA20 }, {PCI_VDEVICE (EICON ,PCI_DEVICE_ID_EICON_DIVA20_U ),INF_DIVA20U }, {PCI_VDEVICE (EICON ,PCI_DEVICE_ID_EICON_DIVA201 ),INF_DIVA201 },
drivers/isdn/hardware/mISDN/netjet.c +1 -1
@@ -1137,7 +1137,7 @@ static void __devexit nj_remove(struct pci_dev *pdev)/* We cannot select cards with PCI_SUB... IDs, since here are cards with * SUB IDs set to PCI_ANY_ID, so we need to match all and reject * known other cards which not work with this driver - see probe function */ -static struct pci_device_id nj_pci_ids[]__devinitdata = { +static struct pci_device_id nj_pci_ids[] = { {PCI_VENDOR_ID_TIGERJET ,PCI_DEVICE_ID_TIGERJET_300 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, { }
drivers/isdn/hardware/mISDN/speedfax.c +1 -1
@@ -491,7 +491,7 @@ sfax_remove_pci(struct pci_dev *pdev)pr_debug ("%s: drvdata already removed\n" , __func__); } -static struct pci_device_id sfaxpci_ids[]__devinitdata = { +static struct pci_device_id sfaxpci_ids[] = { {PCI_VENDOR_ID_TIGERJET ,PCI_DEVICE_ID_TIGERJET_100 ,PCI_SUBVENDOR_SPEEDFAX_PYRAMID ,PCI_SUB_ID_SEDLBAUER ,0 ,0 , (unsigned long )"Pyramid Speedfax + PCI"
drivers/isdn/hisax/asuscom.c +3 -3
@@ -295,7 +295,7 @@ Asus_card_msg(struct IsdnCardState *cs, int mt, void *arg) }#ifdef __ISAPNP__ -static struct isapnp_device_id asus_ids[]__devinitdata = { +static struct isapnp_device_id asus_ids[] = { {ISAPNP_VENDOR ('A' ,'S' ,'U' ),ISAPNP_FUNCTION (0x1688 ),ISAPNP_VENDOR ('A' ,'S' ,'U' ),ISAPNP_FUNCTION (0x1688 ), (unsigned long) "Asus1688 PnP" },
@@ -311,8 +311,8 @@ static struct isapnp_device_id asus_ids[] __devinitdata = { { 0, } }; -static struct isapnp_device_id *ipid__devinitdata = &asus_ids[0 ]; -static struct pnp_card *pnp_c__devinitdata =NULL ; +static struct isapnp_device_id *ipid = &asus_ids[0 ]; +static struct pnp_card *pnp_c =NULL ;#endif int
drivers/isdn/hisax/avm_pci.c +2 -2
@@ -777,7 +777,7 @@ static int avm_pnp_setup(struct IsdnCardState *cs)#else -static struct pnp_card *pnp_avm_c__devinitdata =NULL ; +static struct pnp_card *pnp_avm_c =NULL ;static int avm_pnp_setup (struct IsdnCardState *cs) {
@@ -832,7 +832,7 @@ static int avm_pci_setup(struct IsdnCardState *cs)#else -static struct pci_dev *dev_avm__devinitdata =NULL ; +static struct pci_dev *dev_avm =NULL ;static int avm_pci_setup (struct IsdnCardState *cs) {
drivers/isdn/hisax/bkm_a4t.c +1 -1
@@ -323,7 +323,7 @@ static int a4t_cs_init(struct IsdnCard *card,return (1 ); } -static struct pci_dev *dev_a4t__devinitdata =NULL ; +static struct pci_dev *dev_a4t =NULL ;int setup_bkm_a4t (struct IsdnCard *card)
drivers/isdn/hisax/bkm_a8.c +6 -6
@@ -267,12 +267,12 @@ sct_alloc_io(u_int adr, u_int len)return (0 ); } -static struct pci_dev *dev_a8__devinitdata =NULL ; -static u16 sub_vendor_id__devinitdata =0 ; -static u16 sub_sys_id__devinitdata =0 ; -static u_char pci_bus__devinitdata =0 ; -static u_char pci_device_fn__devinitdata =0 ; -static u_char pci_irq__devinitdata =0 ; +static struct pci_dev *dev_a8 =NULL ; +static u16 sub_vendor_id =0 ; +static u16 sub_sys_id =0 ; +static u_char pci_bus =0 ; +static u_char pci_device_fn =0 ; +static u_char pci_irq =0 ;int setup_sct_quadro (struct IsdnCard *card)
drivers/isdn/hisax/config.c +5 -5
@@ -338,11 +338,11 @@ static int io[HISAX_MAX_CARDS] = { 0, };#define IO0_IO1 #endif #ifdef IO0_IO1 -static int io0[HISAX_MAX_CARDS ]__devinitdata = {0 , }; -static int io1[HISAX_MAX_CARDS ]__devinitdata = {0 , }; +static int io0[HISAX_MAX_CARDS ] = {0 , }; +static int io1[HISAX_MAX_CARDS ] = {0 , };#endif -static int irq[HISAX_MAX_CARDS ]__devinitdata = {0 , }; -static int mem[HISAX_MAX_CARDS ]__devinitdata = {0 , }; +static int irq[HISAX_MAX_CARDS ] = {0 , }; +static int mem[HISAX_MAX_CARDS ] = {0 , };static char *id = HiSaxID;MODULE_DESCRIPTION ("ISDN4Linux: Driver for passive ISDN cards" );
@@ -1914,7 +1914,7 @@ static void EChannel_proc_rcv(struct hisax_d_if *d_if) #ifdef CONFIG_PCI #include <linux/pci.h> -static struct pci_device_id hisax_pci_tbl[] __devinitdata __used = { +static struct pci_device_id hisax_pci_tbl[] __used = { #ifdef CONFIG_HISAX_FRITZPCI {PCI_VDEVICE(AVM, PCI_DEVICE_ID_AVM_A1) }, #endif
drivers/isdn/hisax/diva.c +7 -7
@@ -1041,7 +1041,7 @@ static int setup_diva_isa(struct IsdnCard *card)#endif /* CONFIG_ISA */ #ifdef __ISAPNP__ -static struct isapnp_device_id diva_ids[]__devinitdata = { +static struct isapnp_device_id diva_ids[] = { {ISAPNP_VENDOR ('G' ,'D' ,'I' ),ISAPNP_FUNCTION (0x51 ),ISAPNP_VENDOR ('G' ,'D' ,'I' ),ISAPNP_FUNCTION (0x51 ), (unsigned long) "Diva picola" },
@@ -1063,8 +1063,8 @@ static struct isapnp_device_id diva_ids[] __devinitdata = { { 0, } }; -static struct isapnp_device_id *ipid__devinitdata = &diva_ids[0 ]; -static struct pnp_card *pnp_c__devinitdata =NULL ; +static struct isapnp_device_id *ipid = &diva_ids[0 ]; +static struct pnp_card *pnp_c =NULL ;static int setup_diva_isapnp (struct IsdnCard *card) {
@@ -1149,10 +1149,10 @@ static int setup_diva_isapnp(struct IsdnCard *card)#endif /* ISAPNP */ #ifdef CONFIG_PCI -static struct pci_dev *dev_diva__devinitdata =NULL ; -static struct pci_dev *dev_diva_u__devinitdata =NULL ; -static struct pci_dev *dev_diva201__devinitdata =NULL ; -static struct pci_dev *dev_diva202__devinitdata =NULL ; +static struct pci_dev *dev_diva =NULL ; +static struct pci_dev *dev_diva_u =NULL ; +static struct pci_dev *dev_diva201 =NULL ; +static struct pci_dev *dev_diva202 =NULL ;static int setup_diva_pci (struct IsdnCard *card) {
drivers/isdn/hisax/elsa.c +5 -5
@@ -902,7 +902,7 @@ setup_elsa_isa(struct IsdnCard *card) }#ifdef __ISAPNP__ -static struct isapnp_device_id elsa_ids[]__devinitdata = { +static struct isapnp_device_id elsa_ids[] = { {ISAPNP_VENDOR ('E' ,'L' ,'S' ),ISAPNP_FUNCTION (0x0133 ),ISAPNP_VENDOR ('E' ,'L' ,'S' ),ISAPNP_FUNCTION (0x0133 ), (unsigned long) "Elsa QS1000" },
@@ -912,8 +912,8 @@ static struct isapnp_device_id elsa_ids[] __devinitdata = { { 0, } }; -static struct isapnp_device_id *ipid__devinitdata = &elsa_ids[0 ]; -static struct pnp_card *pnp_c__devinitdata =NULL ; +static struct isapnp_device_id *ipid = &elsa_ids[0 ]; +static struct pnp_card *pnp_c =NULL ;#endif /* __ISAPNP__ */ static int
@@ -1027,8 +1027,8 @@ setup_elsa_pcmcia(struct IsdnCard *card) }#ifdef CONFIG_PCI -static struct pci_dev *dev_qs1000__devinitdata =NULL ; -static struct pci_dev *dev_qs3000__devinitdata =NULL ; +static struct pci_dev *dev_qs1000 =NULL ; +static struct pci_dev *dev_qs3000 =NULL ;static int setup_elsa_pci (struct IsdnCard *card)
drivers/isdn/hisax/enternow_pci.c +1 -1
@@ -384,7 +384,7 @@ static int en_cs_init_rest(struct IsdnCard *card,return (1 ); } -static struct pci_dev *dev_netjet__devinitdata =NULL ; +static struct pci_dev *dev_netjet =NULL ;/* called by config.c */ int
drivers/isdn/hisax/gazel.c +1 -1
@@ -532,7 +532,7 @@ setup_gazelisa(struct IsdnCard *card, struct IsdnCardState *cs) }#ifdef CONFIG_PCI -static struct pci_dev *dev_tel__devinitdata =NULL ; +static struct pci_dev *dev_tel =NULL ;static int setup_gazelpci (struct IsdnCardState *cs)
drivers/isdn/hisax/hfc_pci.c +1 -1
@@ -1632,7 +1632,7 @@ hfcpci_card_msg(struct IsdnCardState *cs, int mt, void *arg)/* this variable is used as card index when more than one cards are present */ -static struct pci_dev *dev_hfcpci__devinitdata =NULL ; +static struct pci_dev *dev_hfcpci =NULL ;int setup_hfcpci (struct IsdnCard *card)
drivers/isdn/hisax/hfc_sx.c +3 -3
@@ -1381,15 +1381,15 @@ hfcsx_card_msg(struct IsdnCardState *cs, int mt, void *arg) }#ifdef __ISAPNP__ -static struct isapnp_device_id hfc_ids[]__devinitdata = { +static struct isapnp_device_id hfc_ids[] = { {ISAPNP_VENDOR ('T' ,'A' ,'G' ),ISAPNP_FUNCTION (0x2620 ),ISAPNP_VENDOR ('T' ,'A' ,'G' ),ISAPNP_FUNCTION (0x2620 ), (unsigned long )"Teles 16.3c2" }, {0 , } }; -static struct isapnp_device_id *ipid__devinitdata = &hfc_ids[0 ]; -static struct pnp_card *pnp_c__devinitdata =NULL ; +static struct isapnp_device_id *ipid = &hfc_ids[0 ]; +static struct pnp_card *pnp_c =NULL ;#endif int
drivers/isdn/hisax/hfcscard.c +3 -3
@@ -136,7 +136,7 @@ hfcs_card_msg(struct IsdnCardState *cs, int mt, void *arg) }#ifdef __ISAPNP__ -static struct isapnp_device_id hfc_ids[]__devinitdata = { +static struct isapnp_device_id hfc_ids[] = { {ISAPNP_VENDOR ('A' ,'N' ,'X' ),ISAPNP_FUNCTION (0x1114 ),ISAPNP_VENDOR ('A' ,'N' ,'X' ),ISAPNP_FUNCTION (0x1114 ), (unsigned long) "Acer P10" },
@@ -161,8 +161,8 @@ static struct isapnp_device_id hfc_ids[] __devinitdata = { { 0, } }; -static struct isapnp_device_id *ipid__devinitdata = &hfc_ids[0 ]; -static struct pnp_card *pnp_c__devinitdata =NULL ; +static struct isapnp_device_id *ipid = &hfc_ids[0 ]; +static struct pnp_card *pnp_c =NULL ;#endif int
drivers/isdn/hisax/hisax_fcpcipnp.c +1 -1
@@ -70,7 +70,7 @@ static struct pci_device_id fcpci_ids[] = {MODULE_DEVICE_TABLE (pci, fcpci_ids); #ifdef CONFIG_PNP -static struct pnp_device_id fcpnp_ids[] __devinitdata = { +static struct pnp_device_id fcpnp_ids[] = { { .id = "AVM0900", .driver_data = (unsigned long) "Fritz!Card PnP",
drivers/isdn/hisax/isac.c +1 -1
@@ -24,7 +24,7 @@#define DBUSY_TIMER_VALUE 80#define ARCOFI_USE 1 -static char *ISACVer[]__devinitdata = +static char *ISACVer[] = {"2086/2186 V1.1" ,"2085 B1" ,"2085 B2" ,"2085 V2.3" };
drivers/isdn/hisax/isurf.c +1 -1
@@ -194,7 +194,7 @@ isurf_auxcmd(struct IsdnCardState *cs, isdn_ctrl *ic) { }#ifdef __ISAPNP__ -static struct pnp_card *pnp_c__devinitdata =NULL ; +static struct pnp_card *pnp_c =NULL ;#endif int
drivers/isdn/hisax/ix1_micro.c +3 -3
@@ -209,7 +209,7 @@ ix1_card_msg(struct IsdnCardState *cs, int mt, void *arg) }#ifdef __ISAPNP__ -static struct isapnp_device_id itk_ids[]__devinitdata = { +static struct isapnp_device_id itk_ids[] = { {ISAPNP_VENDOR ('I' ,'T' ,'K' ),ISAPNP_FUNCTION (0x25 ),ISAPNP_VENDOR ('I' ,'T' ,'K' ),ISAPNP_FUNCTION (0x25 ), (unsigned long) "ITK micro 2" },
@@ -219,8 +219,8 @@ static struct isapnp_device_id itk_ids[] __devinitdata = { { 0, } }; -static struct isapnp_device_id *ipid__devinitdata = &itk_ids[0 ]; -static struct pnp_card *pnp_c__devinitdata =NULL ; +static struct isapnp_device_id *ipid = &itk_ids[0 ]; +static struct pnp_card *pnp_c =NULL ;#endif
drivers/isdn/hisax/niccy.c +2 -2
@@ -223,7 +223,7 @@ static int niccy_card_msg(struct IsdnCardState *cs, int mt, void *arg) }#ifdef __ISAPNP__ -static struct pnp_card *pnp_c__devinitdata =NULL ; +static struct pnp_card *pnp_c =NULL ;#endif int setup_niccy (struct IsdnCard *card)
@@ -298,7 +298,7 @@ int setup_niccy(struct IsdnCard *card) } }else {#ifdef CONFIG_PCI -static struct pci_dev *niccy_dev__devinitdata ; +static struct pci_dev *niccy_dev;u_int pci_ioaddr; cs->subtyp =0 ;
drivers/isdn/hisax/nj_s.c +1 -1
@@ -256,7 +256,7 @@ static int njs_cs_init_rest(struct IsdnCard *card,return (1 ); } -static struct pci_dev *dev_netjet__devinitdata =NULL ; +static struct pci_dev *dev_netjet =NULL ;int setup_netjet_s (struct IsdnCard *card)
drivers/isdn/hisax/nj_u.c +1 -1
@@ -219,7 +219,7 @@ static int nju_cs_init_rest(struct IsdnCard *card,return (1 ); } -static struct pci_dev *dev_netjet__devinitdata =NULL ; +static struct pci_dev *dev_netjet =NULL ;int setup_netjet_u (struct IsdnCard *card)
drivers/isdn/hisax/sedlbauer.c +4 -4
@@ -517,7 +517,7 @@ Sedl_card_msg(struct IsdnCardState *cs, int mt, void *arg) }#ifdef __ISAPNP__ -static struct isapnp_device_id sedl_ids[]__devinitdata = { +static struct isapnp_device_id sedl_ids[] = { {ISAPNP_VENDOR ('S' ,'A' ,'G' ),ISAPNP_FUNCTION (0x01 ),ISAPNP_VENDOR ('S' ,'A' ,'G' ),ISAPNP_FUNCTION (0x01 ), (unsigned long) "Speed win" },
@@ -527,8 +527,8 @@ static struct isapnp_device_id sedl_ids[] __devinitdata = { { 0, } }; -static struct isapnp_device_id *ipid__devinitdata = &sedl_ids[0 ]; -static struct pnp_card *pnp_c__devinitdata =NULL ; +static struct isapnp_device_id *ipid = &sedl_ids[0 ]; +static struct pnp_card *pnp_c =NULL ;static int setup_sedlbauer_isapnp (struct IsdnCard *card,int *bytecnt)
@@ -599,7 +599,7 @@ setup_sedlbauer_isapnp(struct IsdnCard *card, int *bytecnt)#endif /* __ISAPNP__ */ #ifdef CONFIG_PCI -static struct pci_dev *dev_sedl__devinitdata =NULL ; +static struct pci_dev *dev_sedl =NULL ;static int setup_sedlbauer_pci (struct IsdnCard *card)
drivers/isdn/hisax/teles3.c +3 -3
@@ -253,7 +253,7 @@ Teles_card_msg(struct IsdnCardState *cs, int mt, void *arg)#ifdef __ISAPNP__ -static struct isapnp_device_id teles_ids[]__devinitdata = { +static struct isapnp_device_id teles_ids[] = { {ISAPNP_VENDOR ('T' ,'A' ,'G' ),ISAPNP_FUNCTION (0x2110 ),ISAPNP_VENDOR ('T' ,'A' ,'G' ),ISAPNP_FUNCTION (0x2110 ), (unsigned long) "Teles 16.3 PnP" },
@@ -266,8 +266,8 @@ static struct isapnp_device_id teles_ids[] __devinitdata = { { 0, } }; -static struct isapnp_device_id *ipid__devinitdata = &teles_ids[0 ]; -static struct pnp_card *pnp_c__devinitdata =NULL ; +static struct isapnp_device_id *ipid = &teles_ids[0 ]; +static struct pnp_card *pnp_c =NULL ;#endif int
drivers/isdn/hisax/telespci.c +1 -1
@@ -283,7 +283,7 @@ TelesPCI_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -static struct pci_dev *dev_tel__devinitdata =NULL ; +static struct pci_dev *dev_tel =NULL ;int setup_telespci (struct IsdnCard *card)
drivers/isdn/hisax/w6692.c +1 -1
@@ -991,7 +991,7 @@ w6692_card_msg(struct IsdnCardState *cs, int mt, void *arg)static int id_idx; -static struct pci_dev *dev_w6692__devinitdata =NULL ; +static struct pci_dev *dev_w6692 =NULL ;int setup_w6692 (struct IsdnCard *card)
Signature · 1 line
1.8.0
PATCH 312/493 mfd: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/mfd/88pm860x-core.c | 68 ++++++++++++++++++++++----------------------- drivers/mfd/ab8500-core.c | 34 +++++++++++------------ drivers/mfd/cs5535-mfd.c | 4 +-- drivers/mfd/da9052-core.c | 2 +- drivers/mfd/lpc_ich.c | 2 +- drivers/mfd/max77686.c | 2 +- drivers/mfd/max8925-core.c | 52 +++++++++++++++++----------------- drivers/mfd/palmas.c | 2 +- drivers/mfd/sm501.c | 2 +- drivers/mfd/sta2x11-mfd.c | 4 +-- drivers/mfd/tc6393xb.c | 6 ++-- drivers/mfd/timberdale.c | 34 +++++++++++------------ 12 files changed, 106 insertions(+), 106 deletions(-)
drivers/mfd/88pm860x-core.c +34 -34
@@ -28,111 +28,111 @@#define INT_STATUS_NUM 3 -static struct resource bk0_resources[]__devinitdata = { +static struct resource bk0_resources[] = { {2 ,2 ,"duty cycle" ,IORESOURCE_REG , }, {3 ,3 ,"always on" ,IORESOURCE_REG , }, {3 ,3 ,"current" ,IORESOURCE_REG , }, }; -static struct resource bk1_resources[]__devinitdata = { +static struct resource bk1_resources[] = { {4 ,4 ,"duty cycle" ,IORESOURCE_REG , }, {5 ,5 ,"always on" ,IORESOURCE_REG , }, {5 ,5 ,"current" ,IORESOURCE_REG , }, }; -static struct resource bk2_resources[]__devinitdata = { +static struct resource bk2_resources[] = { {6 ,6 ,"duty cycle" ,IORESOURCE_REG , }, {7 ,7 ,"always on" ,IORESOURCE_REG , }, {5 ,5 ,"current" ,IORESOURCE_REG , }, }; -static struct resource led0_resources[]__devinitdata = { +static struct resource led0_resources[] = {/* RGB1 Red LED */ {0xd ,0xd ,"control" ,IORESOURCE_REG , }, {0xc ,0xc ,"blink" ,IORESOURCE_REG , }, }; -static struct resource led1_resources[]__devinitdata = { +static struct resource led1_resources[] = {/* RGB1 Green LED */ {0xe ,0xe ,"control" ,IORESOURCE_REG , }, {0xc ,0xc ,"blink" ,IORESOURCE_REG , }, }; -static struct resource led2_resources[]__devinitdata = { +static struct resource led2_resources[] = {/* RGB1 Blue LED */ {0xf ,0xf ,"control" ,IORESOURCE_REG , }, {0xc ,0xc ,"blink" ,IORESOURCE_REG , }, }; -static struct resource led3_resources[]__devinitdata = { +static struct resource led3_resources[] = {/* RGB2 Red LED */ {0x9 ,0x9 ,"control" ,IORESOURCE_REG , }, {0x8 ,0x8 ,"blink" ,IORESOURCE_REG , }, }; -static struct resource led4_resources[]__devinitdata = { +static struct resource led4_resources[] = {/* RGB2 Green LED */ {0xa ,0xa ,"control" ,IORESOURCE_REG , }, {0x8 ,0x8 ,"blink" ,IORESOURCE_REG , }, }; -static struct resource led5_resources[]__devinitdata = { +static struct resource led5_resources[] = {/* RGB2 Blue LED */ {0xb ,0xb ,"control" ,IORESOURCE_REG , }, {0x8 ,0x8 ,"blink" ,IORESOURCE_REG , }, }; -static struct resource buck1_resources[]__devinitdata = { +static struct resource buck1_resources[] = { {0x24 ,0x24 ,"buck set" ,IORESOURCE_REG , }, }; -static struct resource buck2_resources[]__devinitdata = { +static struct resource buck2_resources[] = { {0x25 ,0x25 ,"buck set" ,IORESOURCE_REG , }, }; -static struct resource buck3_resources[]__devinitdata = { +static struct resource buck3_resources[] = { {0x26 ,0x26 ,"buck set" ,IORESOURCE_REG , }, }; -static struct resource ldo1_resources[]__devinitdata = { +static struct resource ldo1_resources[] = { {0x10 ,0x10 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo2_resources[]__devinitdata = { +static struct resource ldo2_resources[] = { {0x11 ,0x11 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo3_resources[]__devinitdata = { +static struct resource ldo3_resources[] = { {0x12 ,0x12 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo4_resources[]__devinitdata = { +static struct resource ldo4_resources[] = { {0x13 ,0x13 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo5_resources[]__devinitdata = { +static struct resource ldo5_resources[] = { {0x14 ,0x14 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo6_resources[]__devinitdata = { +static struct resource ldo6_resources[] = { {0x15 ,0x15 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo7_resources[]__devinitdata = { +static struct resource ldo7_resources[] = { {0x16 ,0x16 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo8_resources[]__devinitdata = { +static struct resource ldo8_resources[] = { {0x17 ,0x17 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo9_resources[]__devinitdata = { +static struct resource ldo9_resources[] = { {0x18 ,0x18 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo10_resources[]__devinitdata = { +static struct resource ldo10_resources[] = { {0x19 ,0x19 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo12_resources[]__devinitdata = { +static struct resource ldo12_resources[] = { {0x1a ,0x1a ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo_vibrator_resources[]__devinitdata = { +static struct resource ldo_vibrator_resources[] = { {0x28 ,0x28 ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource ldo14_resources[]__devinitdata = { +static struct resource ldo14_resources[] = { {0x1b ,0x1b ,"ldo set" ,IORESOURCE_REG , }, }; -static struct resource touch_resources[]__devinitdata = { +static struct resource touch_resources[] = { {PM8607_IRQ_PEN ,PM8607_IRQ_PEN ,"touch" ,IORESOURCE_IRQ ,}, }; -static struct resource onkey_resources[]__devinitdata = { +static struct resource onkey_resources[] = { {PM8607_IRQ_ONKEY ,PM8607_IRQ_ONKEY ,"onkey" ,IORESOURCE_IRQ ,}, }; -static struct resource codec_resources[]__devinitdata = { +static struct resource codec_resources[] = {/* Headset microphone insertion or removal */ {PM8607_IRQ_MICIN ,PM8607_IRQ_MICIN ,"micin" ,IORESOURCE_IRQ ,},/* Hook-switch press or release */
@@ -143,12 +143,12 @@ static struct resource codec_resources[] __devinitdata = { {PM8607_IRQ_AUDIO_SHORT, PM8607_IRQ_AUDIO_SHORT, "audio-short", IORESOURCE_IRQ,}, }; -static struct resource battery_resources[]__devinitdata = { +static struct resource battery_resources[] = { {PM8607_IRQ_CC ,PM8607_IRQ_CC ,"columb counter" ,IORESOURCE_IRQ ,}, {PM8607_IRQ_BAT ,PM8607_IRQ_BAT ,"battery" ,IORESOURCE_IRQ ,}, }; -static struct resource charger_resources[]__devinitdata = { +static struct resource charger_resources[] = { {PM8607_IRQ_CHG ,PM8607_IRQ_CHG ,"charger detect" ,IORESOURCE_IRQ ,}, {PM8607_IRQ_CHG_DONE ,PM8607_IRQ_CHG_DONE ,"charging done" ,IORESOURCE_IRQ ,}, {PM8607_IRQ_CHG_FAIL, PM8607_IRQ_CHG_FAIL, "charging timeout", IORESOURCE_IRQ,},
@@ -158,11 +158,11 @@ static struct resource charger_resources[] __devinitdata = { {PM8607_IRQ_VCHG, PM8607_IRQ_VCHG, "vchg voltage", IORESOURCE_IRQ,}, }; -static struct resource rtc_resources[] __devinitdata = { +static struct resource rtc_resources[] = { {PM8607_IRQ_RTC, PM8607_IRQ_RTC, "rtc", IORESOURCE_IRQ,}, }; -static struct mfd_cell bk_devs[] __devinitdata = { +static struct mfd_cell bk_devs[] = { { .name = "88pm860x-backlight", .id = 0,
@@ -181,7 +181,7 @@ static struct mfd_cell bk_devs[] __devinitdata = { }, }; -static struct mfd_cell led_devs[]__devinitdata = { +static struct mfd_cell led_devs[] = { { .name ="88pm860x-led" , .id =0 ,
@@ -215,7 +215,7 @@ static struct mfd_cell led_devs[] __devinitdata = { }, }; -static struct mfd_cell reg_devs[]__devinitdata = { +static struct mfd_cell reg_devs[] = { { .name ="88pm860x-regulator" , .id =0 ,
drivers/mfd/ab8500-core.c +17 -17
@@ -586,7 +586,7 @@ int ab8500_suspend(struct ab8500 *ab8500)return 0 ; } -static struct resource __devinitdata ab8500_gpadc_resources[] = { +static struct resource ab8500_gpadc_resources[] = { { .name ="HW_CONV_END" , .start =AB8500_INT_GP_HW_ADC_CONV_END ,
@@ -601,7 +601,7 @@ static struct resource __devinitdata ab8500_gpadc_resources[] = { }, }; -static struct resource __devinitdata ab8500_rtc_resources[] = { +static struct resource ab8500_rtc_resources[] = { { .name ="60S" , .start =AB8500_INT_RTC_60S ,
@@ -616,7 +616,7 @@ static struct resource __devinitdata ab8500_rtc_resources[] = { }, }; -static struct resource __devinitdata ab8500_poweronkey_db_resources[] = { +static struct resource ab8500_poweronkey_db_resources[] = { { .name ="ONKEY_DBF" , .start =AB8500_INT_PON_KEY1DB_F ,
@@ -631,7 +631,7 @@ static struct resource __devinitdata ab8500_poweronkey_db_resources[] = { }, }; -static struct resource __devinitdata ab8500_av_acc_detect_resources[] = { +static struct resource ab8500_av_acc_detect_resources[] = { { .name ="ACC_DETECT_1DB_F" , .start =AB8500_INT_ACC_DETECT_1DB_F ,
@@ -670,7 +670,7 @@ static struct resource __devinitdata ab8500_av_acc_detect_resources[] = { }, }; -static struct resource __devinitdata ab8500_charger_resources[] = { +static struct resource ab8500_charger_resources[] = { { .name ="MAIN_CH_UNPLUG_DET" , .start =AB8500_INT_MAIN_CH_UNPLUG_DET ,
@@ -751,7 +751,7 @@ static struct resource __devinitdata ab8500_charger_resources[] = { }, }; -static struct resource __devinitdata ab8500_btemp_resources[] = { +static struct resource ab8500_btemp_resources[] = { { .name ="BAT_CTRL_INDB" , .start =AB8500_INT_BAT_CTRL_INDB ,
@@ -784,7 +784,7 @@ static struct resource __devinitdata ab8500_btemp_resources[] = { }, }; -static struct resource __devinitdata ab8500_fg_resources[] = { +static struct resource ab8500_fg_resources[] = { { .name ="NCONV_ACCU" , .start =AB8500_INT_CCN_CONV_ACC ,
@@ -823,10 +823,10 @@ static struct resource __devinitdata ab8500_fg_resources[] = { }, }; -static struct resource __devinitdata ab8500_chargalg_resources[] = {}; +static struct resource ab8500_chargalg_resources[] = {}; #ifdef CONFIG_DEBUG_FS -static struct resource __devinitdata ab8500_debug_resources[] = { +static struct resource ab8500_debug_resources[] = { { .name = "IRQ_FIRST", .start = AB8500_INT_MAIN_EXT_CH_NOT_OK,
@@ -842,7 +842,7 @@ static struct resource __devinitdata ab8500_debug_resources[] = { };#endif -static struct resource __devinitdata ab8500_usb_resources[] = { +static struct resource ab8500_usb_resources[] = { { .name ="ID_WAKEUP_R" , .start =AB8500_INT_ID_WAKEUP_R ,
@@ -887,7 +887,7 @@ static struct resource __devinitdata ab8500_usb_resources[] = { }, }; -static struct resource __devinitdata ab8505_iddet_resources[] = { +static struct resource ab8505_iddet_resources[] = { { .name ="KeyDeglitch" , .start =AB8505_INT_KEYDEGLITCH ,
@@ -920,7 +920,7 @@ static struct resource __devinitdata ab8505_iddet_resources[] = { }, }; -static struct resource __devinitdata ab8500_temp_resources[] = { +static struct resource ab8500_temp_resources[] = { { .name ="AB8500_TEMP_WARM" , .start =AB8500_INT_TEMP_WARM ,
@@ -929,7 +929,7 @@ static struct resource __devinitdata ab8500_temp_resources[] = { }, }; -static struct mfd_cell __devinitdata abx500_common_devs[] = { +static struct mfd_cell abx500_common_devs[] = { #ifdef CONFIG_DEBUG_FS { .name = "ab8500-debug",
@@ -1001,7 +1001,7 @@ static struct mfd_cell __devinitdata abx500_common_devs[] = { }, }; -static struct mfd_cell __devinitdata ab8500_bm_devs[] = { +static struct mfd_cell ab8500_bm_devs[] = { { .name ="ab8500-charger" , .num_resources =ARRAY_SIZE (ab8500_charger_resources),
@@ -1024,7 +1024,7 @@ static struct mfd_cell __devinitdata ab8500_bm_devs[] = { }, }; -static struct mfd_cell __devinitdata ab8500_devs[] = { +static struct mfd_cell ab8500_devs[] = { { .name ="ab8500-gpio" , .of_compatible ="stericsson,ab8500-gpio" ,
@@ -1041,7 +1041,7 @@ static struct mfd_cell __devinitdata ab8500_devs[] = { }, }; -static struct mfd_cell __devinitdata ab9540_devs[] = { +static struct mfd_cell ab9540_devs[] = { { .name ="ab8500-gpio" , },
@@ -1056,7 +1056,7 @@ static struct mfd_cell __devinitdata ab9540_devs[] = { };/* Device list common to ab9540 and ab8505 */ -static struct mfd_cell __devinitdata ab9540_ab8505_devs[] = { +static struct mfd_cell ab9540_ab8505_devs[] = { { .name ="ab-iddet" , .num_resources =ARRAY_SIZE (ab8505_iddet_resources),
drivers/mfd/cs5535-mfd.c +2 -2
@@ -71,9 +71,9 @@ static int cs5535_mfd_res_disable(struct platform_device *pdev)return 0 ; } -static __devinitdata struct resource cs5535_mfd_resources[NR_BARS ]; +static struct resource cs5535_mfd_resources[NR_BARS ]; -static __devinitdata struct mfd_cell cs5535_mfd_cells[] = { +static struct mfd_cell cs5535_mfd_cells[] = { { .id =SMB_BAR , .name ="cs5535-smb" ,
drivers/mfd/da9052-core.c +1 -1
@@ -515,7 +515,7 @@ static struct resource da9052_tsi_resources[] = { }, }; -static struct mfd_cell __devinitdata da9052_subdev_info[] = { +static struct mfd_cell da9052_subdev_info[] = { { .name ="da9052-regulator" , .id =1 ,
drivers/mfd/lpc_ich.c +1 -1
@@ -196,7 +196,7 @@ enum lpc_chipsets { LPC_LPT_LP, /* Lynx Point-LP */ }; -struct lpc_ich_info lpc_chipset_info[]__devinitdata = { +struct lpc_ich_info lpc_chipset_info[] = { [LPC_ICH ] = { .name ="ICH" , .iTCO_version =1 ,
drivers/mfd/max77686.c +1 -1
@@ -45,7 +45,7 @@ static struct regmap_config max77686_regmap_config = { };#ifdef CONFIG_OF -static struct of_device_id __devinitdata max77686_pmic_dt_match[] = { +static struct of_device_id max77686_pmic_dt_match[] = { {.compatible ="maxim,max77686" , .data =0 }, {}, };
drivers/mfd/max8925-core.c +26 -26
137 lines not on this page · raw message
drivers/mfd/palmas.c +1 -1
@@ -492,7 +492,7 @@ static const struct i2c_device_id palmas_i2c_id[] = { };MODULE_DEVICE_TABLE (i2c, palmas_i2c_id); -static struct of_device_id __devinitdata of_palmas_match_tbl[] = { +static struct of_device_id of_palmas_match_tbl[] = { { .compatible ="ti,palmas" , }, {/* end */ } };
drivers/mfd/sm501.c +1 -1
@@ -1728,7 +1728,7 @@ static struct pci_driver sm501_pci_driver = {MODULE_ALIAS ("platform:sm501" ); -static struct of_device_id __devinitdata of_sm501_match_tbl[] = { +static struct of_device_id of_sm501_match_tbl[] = { { .compatible ="smi,sm501" , }, {/* end */ } };
drivers/mfd/sta2x11-mfd.c +2 -2
@@ -330,14 +330,14 @@ static const __devinitconst struct resource apbreg_resources[] = {#define DEV (_name, _r) \ { .name = _name, .num_resources = ARRAY_SIZE(_r), .resources = _r, } -static __devinitdata struct mfd_cell sta2x11_mfd_bar0[] = { +static struct mfd_cell sta2x11_mfd_bar0[] = {DEV ("sta2x11-gpio" , gpio_resources),/* offset 0: we add pdata later */ DEV ("sta2x11-sctl" , sctl_resources),DEV ("sta2x11-scr" , scr_resources),DEV ("sta2x11-time" , time_resources), }; -static __devinitdata struct mfd_cell sta2x11_mfd_bar1[] = { +static struct mfd_cell sta2x11_mfd_bar1[] = {DEV ("sta2x11-apbreg" , apbreg_resources), };
drivers/mfd/tc6393xb.c +3 -3
@@ -137,7 +137,7 @@ static int tc6393xb_nand_enable(struct platform_device *nand)return 0 ; } -static struct resource __devinitdata tc6393xb_nand_resources[] = { +static struct resource tc6393xb_nand_resources[] = { { .start =0x1000 , .end =0x1007 ,
@@ -196,7 +196,7 @@ static const struct resource tc6393xb_ohci_resources[] = { }, }; -static struct resource __devinitdata tc6393xb_fb_resources[] = { +static struct resource tc6393xb_fb_resources[] = { { .start =0x5000 , .end =0x51ff ,
@@ -382,7 +382,7 @@ static struct tmio_mmc_data tc6393xb_mmc_data = { .set_clk_div = tc6393xb_mmc_clk_div, }; -static struct mfd_cell __devinitdata tc6393xb_cells[] = { +static struct mfd_cell tc6393xb_cells[] = { [TC6393XB_CELL_NAND ] = { .name ="tmio-nand" , .enable = tc6393xb_nand_enable,
drivers/mfd/timberdale.c +17 -17
@@ -75,13 +75,13 @@ static struct i2c_board_info timberdale_i2c_board_info[] = { }, }; -static __devinitdata struct xiic_i2c_platform_data +static struct xiic_i2c_platform_data timberdale_xiic_platform_data = { .devices = timberdale_i2c_board_info, .num_devices =ARRAY_SIZE (timberdale_i2c_board_info) }; -static __devinitdata struct ocores_i2c_platform_data +static struct ocores_i2c_platform_data timberdale_ocores_platform_data = { .reg_shift =2 , .clock_khz =62500 ,
@@ -143,7 +143,7 @@ static struct spi_board_info timberdale_spi_8bit_board_info[] = { }, }; -static __devinitdata struct xspi_platform_data timberdale_xspi_platform_data = { +static struct xspi_platform_data timberdale_xspi_platform_data = { .num_chipselect =3 , .little_endian = true,/* bits per word and devices will be filled in runtime depending
@@ -164,7 +164,7 @@ static const __devinitconst struct resource timberdale_spi_resources[] = { }, }; -static __devinitdata struct ks8842_platform_data +static struct ks8842_platform_data timberdale_ks8842_platform_data = { .rx_dma_channel =DMA_ETH_RX , .tx_dma_channel =DMA_ETH_TX
@@ -183,7 +183,7 @@ static const __devinitconst struct resource timberdale_eth_resources[] = { }, }; -static __devinitdata struct timbgpio_platform_data +static struct timbgpio_platform_data timberdale_gpio_platform_data = { .gpio_base =0 , .nr_pins =GPIO_NR_PINS ,
@@ -247,13 +247,13 @@ static const __devinitconst struct resource timberdale_uartlite_resources[] = { }, }; -static __devinitdata struct i2c_board_info timberdale_adv7180_i2c_board_info = { +static struct i2c_board_info timberdale_adv7180_i2c_board_info = {/* Requires jumper JP9 to be off */ I2C_BOARD_INFO ("adv7180" ,0x42 >>1 ), .irq =IRQ_TIMBERDALE_ADV7180 }; -static __devinitdata struct timb_video_platform_data +static struct timb_video_platform_data timberdale_video_platform_data = { .dma_channel =DMA_VIDEO_RX , .i2c_adapter =0 ,
@@ -276,15 +276,15 @@ timberdale_radio_resources[] = { }, }; -static __devinitdata struct i2c_board_info timberdale_tef6868_i2c_board_info = { +static struct i2c_board_info timberdale_tef6868_i2c_board_info = {I2C_BOARD_INFO ("tef6862" ,0x60 ) }; -static __devinitdata struct i2c_board_info timberdale_saa7706_i2c_board_info = { +static struct i2c_board_info timberdale_saa7706_i2c_board_info = {I2C_BOARD_INFO ("saa7706h" ,0x1C ) }; -static __devinitdata struct timb_radio_platform_data +static struct timb_radio_platform_data timberdale_radio_platform_data = { .i2c_adapter =0 , .tuner = &timberdale_tef6868_i2c_board_info,
@@ -303,7 +303,7 @@ static const __devinitconst struct resource timberdale_video_resources[] = {*/ }; -static __devinitdata struct timb_dma_platform_data timb_dma_platform_data = { +static struct timb_dma_platform_data timb_dma_platform_data = { .nr_channels =10 , .channels = { {
@@ -375,7 +375,7 @@ static const __devinitconst struct resource timberdale_dma_resources[] = { }, }; -static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg0[] = { +static struct mfd_cell timberdale_cells_bar0_cfg0[] = { { .name ="timb-dma" , .num_resources =ARRAY_SIZE (timberdale_dma_resources),
@@ -432,7 +432,7 @@ static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg0[] = { }, }; -static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg1[] = { +static struct mfd_cell timberdale_cells_bar0_cfg1[] = { { .name ="timb-dma" , .num_resources =ARRAY_SIZE (timberdale_dma_resources),
@@ -499,7 +499,7 @@ static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg1[] = { }, }; -static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg2[] = { +static struct mfd_cell timberdale_cells_bar0_cfg2[] = { { .name ="timb-dma" , .num_resources =ARRAY_SIZE (timberdale_dma_resources),
@@ -549,7 +549,7 @@ static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg2[] = { }, }; -static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg3[] = { +static struct mfd_cell timberdale_cells_bar0_cfg3[] = { { .name ="timb-dma" , .num_resources =ARRAY_SIZE (timberdale_dma_resources),
@@ -620,7 +620,7 @@ static const __devinitconst struct resource timberdale_sdhc_resources[] = { }, }; -static __devinitdata struct mfd_cell timberdale_cells_bar1[] = { +static struct mfd_cell timberdale_cells_bar1[] = { { .name ="sdhci" , .num_resources =ARRAY_SIZE (timberdale_sdhc_resources),
@@ -628,7 +628,7 @@ static __devinitdata struct mfd_cell timberdale_cells_bar1[] = { }, }; -static __devinitdata struct mfd_cell timberdale_cells_bar2[] = { +static struct mfd_cell timberdale_cells_bar2[] = { { .name ="sdhci" , .num_resources =ARRAY_SIZE (timberdale_sdhc_resources),
Signature · 1 line
1.8.0
PATCH 312/493 mfd: remove use of __devinitdata
Quoted 8 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitdatais no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Srinidhi Kasagar <[email protected]>Cc Linus Walleij <[email protected]>Cc Peter Tyser <[email protected]>Cc linux-arm-kernel at lists.infradead.org
Yours,
Linus Walleij
PATCH 313/493 mmc: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/mmc/host/mmc_spi.c | 2 +- drivers/mmc/host/sdhci-dove.c | 2 +- drivers/mmc/host/sdhci-tegra.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/mmc/host/mmc_spi.c +1 -1
@@ -1517,7 +1517,7 @@ static int __devexit mmc_spi_remove(struct spi_device *spi)return 0 ; } -static struct of_device_id mmc_spi_of_match_table[]__devinitdata = { +static struct of_device_id mmc_spi_of_match_table[] = { { .compatible ="mmc-spi-slot" , }, {}, };
drivers/mmc/host/sdhci-dove.c +1 -1
@@ -129,7 +129,7 @@ static int __devexit sdhci_dove_remove(struct platform_device *pdev)return 0 ; } -static const struct of_device_id sdhci_dove_of_match_table[]__devinitdata = { +static const struct of_device_id sdhci_dove_of_match_table[] = { { .compatible ="marvell,dove-sdhci" , }, {} };
drivers/mmc/host/sdhci-tegra.c +1 -1
@@ -206,7 +206,7 @@ static struct sdhci_tegra_soc_data soc_data_tegra30 = { };#endif -static const struct of_device_id sdhci_tegra_dt_match[]__devinitdata = { +static const struct of_device_id sdhci_tegra_dt_match[] = { #ifdef CONFIG_ARCH_TEGRA_3x_SOC { .compatible ="nvidia,tegra30-sdhci" , .data = &soc_data_tegra30 }, #endif
Signature · 1 line
1.8.0
PATCH 314/493 mtd: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/mtd/devices/mtd_dataflash.c | 2 +- drivers/mtd/devices/sst25l.c | 2 +- drivers/mtd/maps/esb2rom.c | 2 +- drivers/mtd/maps/ichxrom.c | 2 +- drivers/mtd/nand/mpc5121_nfc.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
drivers/mtd/devices/mtd_dataflash.c +1 -1
@@ -705,7 +705,7 @@ struct flash_info {#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,
drivers/mtd/devices/sst25l.c +1 -1
@@ -64,7 +64,7 @@ struct flash_info {#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 }, {"sst25lf040a" ,0xbf44 ,256 ,2048 ,4096 }, };
drivers/mtd/maps/esb2rom.c +1 -1
@@ -384,7 +384,7 @@ static void __devexit esb2rom_remove_one (struct pci_dev *pdev)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_ANY_ID ,PCI_ANY_ID , }, {PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_82801CA_0 ,
drivers/mtd/maps/ichxrom.c +1 -1
@@ -321,7 +321,7 @@ static void __devexit ichxrom_remove_one (struct pci_dev *pdev)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_ANY_ID ,PCI_ANY_ID , }, {PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_82801CA_0 ,
drivers/mtd/nand/mpc5121_nfc.c +1 -1
@@ -841,7 +841,7 @@ static int __devexit mpc5121_nfc_remove(struct platform_device *op)return 0 ; } -static struct of_device_id mpc5121_nfc_match[]__devinitdata = { +static struct of_device_id mpc5121_nfc_match[] = { { .compatible ="fsl,mpc5121-nfc" , }, {}, };
Signature · 1 line
1.8.0
PATCH 316/493 pci: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/pci/pci.c | 2 +- include/linux/pci.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/pci/pci.c +1 -1
@@ -86,7 +86,7 @@ enum pcie_bus_config_types pcie_bus_config = PCIE_BUS_TUNE_OFF;* the dfl or actual value as it sees fit. Don't forget this is * measured in 32-bit words, not bytes. */ -u8 pci_dfl_cache_line_size__devinitdata =L1_CACHE_BYTES >>2 ; +u8 pci_dfl_cache_line_size =L1_CACHE_BYTES >>2 ;u8 pci_cache_line_size;/*
include/linux/pci.h +1 -1
@@ -1582,7 +1582,7 @@ extern int pci_pci_problems;extern unsigned long pci_cardbus_io_size;extern unsigned long pci_cardbus_mem_size; -extern u8 __devinitdata pci_dfl_cache_line_size; +extern u8 pci_dfl_cache_line_size;extern u8 pci_cache_line_size;extern unsigned long pci_hotplug_io_size;
Signature · 1 line
1.8.0
PATCH 318/493 pinctrl: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/pinctrl/mvebu/pinctrl-armada-370.c | 2 +- drivers/pinctrl/mvebu/pinctrl-armada-xp.c | 2 +- drivers/pinctrl/mvebu/pinctrl-dove.c | 2 +- drivers/pinctrl/mvebu/pinctrl-kirkwood.c | 2 +- drivers/pinctrl/pinctrl-at91.c | 4 ++-- drivers/pinctrl/pinctrl-imx23.c | 2 +- drivers/pinctrl/pinctrl-imx28.c | 2 +- drivers/pinctrl/pinctrl-imx35.c | 2 +- drivers/pinctrl/pinctrl-imx51.c | 2 +- drivers/pinctrl/pinctrl-imx53.c | 2 +- drivers/pinctrl/pinctrl-imx6q.c | 2 +- drivers/pinctrl/pinctrl-single.c | 2 +- drivers/pinctrl/pinctrl-tegra20.c | 2 +- drivers/pinctrl/pinctrl-tegra30.c | 2 +- drivers/pinctrl/spear/pinctrl-spear1310.c | 2 +- drivers/pinctrl/spear/pinctrl-spear1340.c | 2 +- drivers/pinctrl/spear/pinctrl-spear300.c | 2 +- drivers/pinctrl/spear/pinctrl-spear310.c | 2 +- drivers/pinctrl/spear/pinctrl-spear320.c | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-)
drivers/pinctrl/mvebu/pinctrl-armada-370.c +1 -1
@@ -367,7 +367,7 @@ static struct mvebu_mpp_mode mv88f6710_mpp_modes[] = {static struct mvebu_pinctrl_soc_info armada_370_pinctrl_info; -static struct of_device_id armada_370_pinctrl_of_match[]__devinitdata = { +static struct of_device_id armada_370_pinctrl_of_match[] = { { .compatible ="marvell,mv88f6710-pinctrl" }, { }, };
drivers/pinctrl/mvebu/pinctrl-armada-xp.c +1 -1
@@ -349,7 +349,7 @@ static struct mvebu_mpp_mode armada_xp_mpp_modes[] = {static struct mvebu_pinctrl_soc_info armada_xp_pinctrl_info; -static struct of_device_id armada_xp_pinctrl_of_match[]__devinitdata = { +static struct of_device_id armada_xp_pinctrl_of_match[] = { { .compatible ="marvell,mv78230-pinctrl" , .data = (void *)V_MV78230 ,
drivers/pinctrl/mvebu/pinctrl-dove.c +1 -1
@@ -571,7 +571,7 @@ static struct mvebu_pinctrl_soc_info dove_pinctrl_info = {static struct clk *clk; -static struct of_device_id dove_pinctrl_of_match[]__devinitdata = { +static struct of_device_id dove_pinctrl_of_match[] = { { .compatible ="marvell,dove-pinctrl" , .data = &dove_pinctrl_info }, { } };
drivers/pinctrl/mvebu/pinctrl-kirkwood.c +1 -1
@@ -433,7 +433,7 @@ static struct mvebu_pinctrl_soc_info mv88f6282_info = { .ngpioranges = ARRAY_SIZE(mv88f628x_gpio_ranges), }; -static struct of_device_id kirkwood_pinctrl_of_match[]__devinitdata = { +static struct of_device_id kirkwood_pinctrl_of_match[] = { { .compatible ="marvell,88f6180-pinctrl" , .data = &mv88f6180_info }, { .compatible ="marvell,88f6190-pinctrl" , .data = &mv88f6190_info }, { .compatible ="marvell,88f6192-pinctrl" , .data = &mv88f6192_info },
drivers/pinctrl/pinctrl-at91.c +2 -2
@@ -815,7 +815,7 @@ static int at91_pinctrl_parse_functions(struct device_node *np,return 0 ; } -static struct of_device_id at91_pinctrl_of_match[]__devinitdata = { +static struct of_device_id at91_pinctrl_of_match[] = { { .compatible ="atmel,at91sam9x5-pinctrl" , .data = &at91sam9x5_ops }, { .compatible ="atmel,at91rm9200-pinctrl" , .data = &at91rm9200_ops }, {/* sentinel */ }
@@ -1350,7 +1350,7 @@ static void at91_gpio_probe_fixup(void) } } -static struct of_device_id at91_gpio_of_match[]__devinitdata = { +static struct of_device_id at91_gpio_of_match[] = { { .compatible ="atmel,at91sam9x5-gpio" , .data = &at91sam9x5_ops, }, { .compatible ="atmel,at91rm9200-gpio" , .data = &at91rm9200_ops }, {/* sentinel */ }
drivers/pinctrl/pinctrl-imx23.c +1 -1
@@ -272,7 +272,7 @@ static int imx23_pinctrl_probe(struct platform_device *pdev)return mxs_pinctrl_probe (pdev, &imx23_pinctrl_data); } -static struct of_device_id imx23_pinctrl_of_match[]__devinitdata = { +static struct of_device_id imx23_pinctrl_of_match[] = { { .compatible ="fsl,imx23-pinctrl" , }, {/* sentinel */ } };
drivers/pinctrl/pinctrl-imx28.c +1 -1
@@ -388,7 +388,7 @@ static int imx28_pinctrl_probe(struct platform_device *pdev)return mxs_pinctrl_probe (pdev, &imx28_pinctrl_data); } -static struct of_device_id imx28_pinctrl_of_match[]__devinitdata = { +static struct of_device_id imx28_pinctrl_of_match[] = { { .compatible ="fsl,imx28-pinctrl" , }, {/* sentinel */ } };
drivers/pinctrl/pinctrl-imx35.c +1 -1
@@ -1559,7 +1559,7 @@ static struct imx_pinctrl_soc_info imx35_pinctrl_info = { .npin_regs = ARRAY_SIZE(imx35_pin_regs), }; -static struct of_device_id imx35_pinctrl_of_match[]__devinitdata = { +static struct of_device_id imx35_pinctrl_of_match[] = { { .compatible ="fsl,imx35-iomuxc" , }, {/* sentinel */ } };
drivers/pinctrl/pinctrl-imx51.c +1 -1
@@ -1286,7 +1286,7 @@ static struct imx_pinctrl_soc_info imx51_pinctrl_info = { .npin_regs = ARRAY_SIZE(imx51_pin_regs), }; -static struct of_device_id imx51_pinctrl_of_match[]__devinitdata = { +static struct of_device_id imx51_pinctrl_of_match[] = { { .compatible ="fsl,imx51-iomuxc" , }, {/* sentinel */ } };
drivers/pinctrl/pinctrl-imx53.c +1 -1
@@ -1613,7 +1613,7 @@ static struct imx_pinctrl_soc_info imx53_pinctrl_info = { .npin_regs = ARRAY_SIZE(imx53_pin_regs), }; -static struct of_device_id imx53_pinctrl_of_match[]__devinitdata = { +static struct of_device_id imx53_pinctrl_of_match[] = { { .compatible ="fsl,imx53-iomuxc" , }, {/* sentinel */ } };
drivers/pinctrl/pinctrl-imx6q.c +1 -1
@@ -2297,7 +2297,7 @@ static struct imx_pinctrl_soc_info imx6q_pinctrl_info = { .npin_regs = ARRAY_SIZE(imx6q_pin_regs), }; -static struct of_device_id imx6q_pinctrl_of_match[]__devinitdata = { +static struct of_device_id imx6q_pinctrl_of_match[] = { { .compatible ="fsl,imx6q-iomuxc" , }, {/* sentinel */ } };
drivers/pinctrl/pinctrl-single.c +1 -1
@@ -998,7 +998,7 @@ static int __devexit pcs_remove(struct platform_device *pdev)return 0 ; } -static struct of_device_id pcs_of_match[]__devinitdata = { +static struct of_device_id pcs_of_match[] = { { .compatible =DRIVER_NAME , }, { }, };
drivers/pinctrl/pinctrl-tegra20.c +1 -1
@@ -2861,7 +2861,7 @@ static int tegra20_pinctrl_probe(struct platform_device *pdev)return tegra_pinctrl_probe (pdev, &tegra20_pinctrl); } -static struct of_device_id tegra20_pinctrl_of_match[]__devinitdata = { +static struct of_device_id tegra20_pinctrl_of_match[] = { { .compatible ="nvidia,tegra20-pinmux" , }, { }, };
drivers/pinctrl/pinctrl-tegra30.c +1 -1
@@ -3727,7 +3727,7 @@ static int tegra30_pinctrl_probe(struct platform_device *pdev)return tegra_pinctrl_probe (pdev, &tegra30_pinctrl); } -static struct of_device_id tegra30_pinctrl_of_match[]__devinitdata = { +static struct of_device_id tegra30_pinctrl_of_match[] = { { .compatible ="nvidia,tegra30-pinmux" , }, { }, };
drivers/pinctrl/spear/pinctrl-spear1310.c +1 -1
@@ -2692,7 +2692,7 @@ static struct spear_pinctrl_machdata spear1310_machdata = { .modes_supported = false, }; -static struct of_device_id spear1310_pinctrl_of_match[]__devinitdata = { +static struct of_device_id spear1310_pinctrl_of_match[] = { { .compatible ="st,spear1310-pinmux" , },
drivers/pinctrl/spear/pinctrl-spear1340.c +1 -1
@@ -2008,7 +2008,7 @@ static struct spear_pinctrl_machdata spear1340_machdata = { .modes_supported = false, }; -static struct of_device_id spear1340_pinctrl_of_match[]__devinitdata = { +static struct of_device_id spear1340_pinctrl_of_match[] = { { .compatible ="st,spear1340-pinmux" , },
drivers/pinctrl/spear/pinctrl-spear300.c +1 -1
@@ -646,7 +646,7 @@ static struct spear_function *spear300_functions[] = { &gpio1_function, }; -static struct of_device_id spear300_pinctrl_of_match[]__devinitdata = { +static struct of_device_id spear300_pinctrl_of_match[] = { { .compatible ="st,spear300-pinmux" , },
drivers/pinctrl/spear/pinctrl-spear310.c +1 -1
@@ -371,7 +371,7 @@ static struct spear_function *spear310_functions[] = { &tdm_function, }; -static struct of_device_id spear310_pinctrl_of_match[]__devinitdata = { +static struct of_device_id spear310_pinctrl_of_match[] = { { .compatible ="st,spear310-pinmux" , },
drivers/pinctrl/spear/pinctrl-spear320.c +1 -1
@@ -3410,7 +3410,7 @@ static struct spear_function *spear320_functions[] = { &i2c2_function, }; -static struct of_device_id spear320_pinctrl_of_match[]__devinitdata = { +static struct of_device_id spear320_pinctrl_of_match[] = { { .compatible ="st,spear320-pinmux" , },
Signature · 1 line
1.8.0
PATCH 318/493 pinctrl: remove use of __devinitdata
Quoted 9 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitdatais no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Linus Walleij <[email protected]>Cc Jean-Christophe Plagniol-Villard <[email protected]>Cc Viresh Kumar <[email protected]>Cc linux-arm-kernel at lists.infradead.orgCc spear-devel at list.st.com
Yours,
Linus Walleij
PATCH 318/493 pinctrl: remove use of __devinitdata
In reply to Bill PembertonQuoted 9 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitdatais no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Linus Walleij <[email protected]>Cc Jean-Christophe Plagniol-Villard <[email protected]>Cc Viresh Kumar <[email protected]>Cc linux-arm-kernel at lists.infradead.orgCc spear-devel at list.st.com
Quoted 6 lines
--- drivers/pinctrl/mvebu/pinctrl-armada-370.c | 2 +- drivers/pinctrl/mvebu/pinctrl-armada-xp.c | 2 +- drivers/pinctrl/mvebu/pinctrl-dove.c | 2 +- drivers/pinctrl/mvebu/pinctrl-kirkwood.c | 2 +- drivers/pinctrl/pinctrl-at91.c | 4 ++--
for at91
Best Regards,
J.
PATCH 319/493 scsi: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/scsi/3w-9xxx.c | 2 +- drivers/scsi/3w-sas.c | 2 +- drivers/scsi/3w-xxxx.c | 2 +- drivers/scsi/BusLogic.c | 2 +- drivers/scsi/NCR_D700.c | 2 +- drivers/scsi/a2091.c | 2 +- drivers/scsi/advansys.c | 16 ++++++++-------- drivers/scsi/aha152x.c | 2 +- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 2 +- drivers/scsi/bnx2i/bnx2i_init.c | 2 +- drivers/scsi/dc395x.c | 4 ++-- drivers/scsi/fdomain.c | 2 +- drivers/scsi/g_NCR5380.c | 2 +- drivers/scsi/gvp11.c | 2 +- drivers/scsi/ibmvscsi/ibmvfc.c | 2 +- drivers/scsi/ibmvscsi/ibmvscsi.c | 2 +- drivers/scsi/ibmvscsi/ibmvstgt.c | 2 +- drivers/scsi/ipr.c | 2 +- drivers/scsi/mvsas/mv_init.c | 2 +- drivers/scsi/nsp32.c | 2 +- drivers/scsi/pm8001/pm8001_init.c | 2 +- drivers/scsi/pmcraid.c | 2 +- drivers/scsi/sym53c416.c | 2 +- drivers/scsi/sym53c8xx_2/sym_glue.c | 2 +- drivers/scsi/tmscsim.c | 2 +- drivers/scsi/zorro7xx.c | 4 ++-- 26 files changed, 35 insertions(+), 35 deletions(-)
drivers/scsi/3w-9xxx.c +1 -1
@@ -2305,7 +2305,7 @@ out_disable_device:#endif /* PCI Devices supported by this driver */ -static struct pci_device_id twa_pci_tbl[]__devinitdata = { +static struct pci_device_id twa_pci_tbl[] = { {PCI_VENDOR_ID_3WARE ,PCI_DEVICE_ID_3WARE_9000 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {PCI_VENDOR_ID_3WARE ,PCI_DEVICE_ID_3WARE_9550SX ,
drivers/scsi/3w-sas.c +1 -1
@@ -1893,7 +1893,7 @@ out_disable_device:#endif /* PCI Devices supported by this driver */ -static struct pci_device_id twl_pci_tbl[]__devinitdata = { +static struct pci_device_id twl_pci_tbl[] = { { PCI_VDEVICE(3WARE, PCI_DEVICE_ID_3WARE_9750) }, { } };
drivers/scsi/3w-xxxx.c +1 -1
@@ -2422,7 +2422,7 @@ static void tw_remove(struct pci_dev *pdev) }/* End tw_remove() */ /* PCI Devices supported by this driver */ -static struct pci_device_id tw_pci_tbl[]__devinitdata = { +static struct pci_device_id tw_pci_tbl[] = { {PCI_VENDOR_ID_3WARE ,PCI_DEVICE_ID_3WARE_1000 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {PCI_VENDOR_ID_3WARE ,PCI_DEVICE_ID_3WARE_7000 ,
drivers/scsi/BusLogic.c +1 -1
@@ -3615,7 +3615,7 @@ static void __exit BusLogic_exit(void)__setup ("BusLogic=" , BusLogic_Setup); #ifdef MODULE -static struct pci_device_id BusLogic_pci_tbl[] __devinitdata = { +static struct pci_device_id BusLogic_pci_tbl[] = { { PCI_VENDOR_ID_BUSLOGIC, PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, { PCI_VENDOR_ID_BUSLOGIC, PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER_NC,
drivers/scsi/NCR_D700.c +1 -1
@@ -114,7 +114,7 @@ MODULE_DESCRIPTION("NCR Dual700 SCSI Driver");MODULE_LICENSE ("GPL" );module_param (NCR_D700 , charp,0 ); -static __u8 __devinitdata id_array[2 *(MCA_MAX_SLOT_NR +1 )] = +static __u8 id_array[2 *(MCA_MAX_SLOT_NR +1 )] = { [0 ...2 *(MCA_MAX_SLOT_NR +1 )-1 ] =7 };#ifdef MODULE
drivers/scsi/a2091.c +1 -1
@@ -251,7 +251,7 @@ static void __devexit a2091_remove(struct zorro_dev *z)release_mem_region (z->resource.start,256 ); } -static struct zorro_device_id a2091_zorro_tbl[]__devinitdata = { +static struct zorro_device_id a2091_zorro_tbl[] = { {ZORRO_PROD_CBM_A590_A2091_1 }, {ZORRO_PROD_CBM_A590_A2091_2 }, {0 }
drivers/scsi/advansys.c +8 -8
@@ -10383,7 +10383,7 @@ static int AscInitSetConfig(struct pci_dev *pdev, struct Scsi_Host *shost)* on big-endian platforms so char fields read as words are actually being * unswapped on big-endian platforms. */ -static ADVEEP_3550_CONFIG Default_3550_EEPROM_Config__devinitdata = { +static ADVEEP_3550_CONFIG Default_3550_EEPROM_Config = {ADV_EEPROM_BIOS_ENABLE ,/* cfg_lsw */ 0x0000 ,/* cfg_msw */ 0xFFFF ,/* disc_enable */
@@ -10421,7 +10421,7 @@ static ADVEEP_3550_CONFIG Default_3550_EEPROM_Config __devinitdata = {0 /* num_of_err */ }; -static ADVEEP_3550_CONFIG ADVEEP_3550_Config_Field_IsChar__devinitdata = { +static ADVEEP_3550_CONFIG ADVEEP_3550_Config_Field_IsChar = {0 ,/* cfg_lsw */ 0 ,/* cfg_msw */ 0 ,/* -disc_enable */
@@ -10459,7 +10459,7 @@ static ADVEEP_3550_CONFIG ADVEEP_3550_Config_Field_IsChar __devinitdata = {0 /* num_of_err */ }; -static ADVEEP_38C0800_CONFIG Default_38C0800_EEPROM_Config__devinitdata = { +static ADVEEP_38C0800_CONFIG Default_38C0800_EEPROM_Config = {ADV_EEPROM_BIOS_ENABLE ,/* 00 cfg_lsw */ 0x0000 ,/* 01 cfg_msw */ 0xFFFF ,/* 02 disc_enable */
@@ -10524,7 +10524,7 @@ static ADVEEP_38C0800_CONFIG Default_38C0800_EEPROM_Config __devinitdata = {0 /* 63 reserved */ }; -static ADVEEP_38C0800_CONFIG ADVEEP_38C0800_Config_Field_IsChar__devinitdata = { +static ADVEEP_38C0800_CONFIG ADVEEP_38C0800_Config_Field_IsChar = {0 ,/* 00 cfg_lsw */ 0 ,/* 01 cfg_msw */ 0 ,/* 02 disc_enable */
@@ -10589,7 +10589,7 @@ static ADVEEP_38C0800_CONFIG ADVEEP_38C0800_Config_Field_IsChar __devinitdata =0 /* 63 reserved */ }; -static ADVEEP_38C1600_CONFIG Default_38C1600_EEPROM_Config__devinitdata = { +static ADVEEP_38C1600_CONFIG Default_38C1600_EEPROM_Config = {ADV_EEPROM_BIOS_ENABLE ,/* 00 cfg_lsw */ 0x0000 ,/* 01 cfg_msw */ 0xFFFF ,/* 02 disc_enable */
@@ -10654,7 +10654,7 @@ static ADVEEP_38C1600_CONFIG Default_38C1600_EEPROM_Config __devinitdata = {0 /* 63 reserved */ }; -static ADVEEP_38C1600_CONFIG ADVEEP_38C1600_Config_Field_IsChar__devinitdata = { +static ADVEEP_38C1600_CONFIG ADVEEP_38C1600_Config_Field_IsChar = {0 ,/* 00 cfg_lsw */ 0 ,/* 01 cfg_msw */ 0 ,/* 02 disc_enable */
@@ -12568,7 +12568,7 @@ static struct isa_driver advansys_vlb_driver = { }, }; -static struct eisa_device_id advansys_eisa_table[]__devinitdata = { +static struct eisa_device_id advansys_eisa_table[] = { {"ABP7401" }, {"ABP7501" }, {"" }
@@ -12706,7 +12706,7 @@ static struct eisa_driver advansys_eisa_driver = { };/* PCI Devices supported by this driver */ -static struct pci_device_id advansys_pci_tbl[]__devinitdata = { +static struct pci_device_id advansys_pci_tbl[] = { {PCI_VENDOR_ID_ASP ,PCI_DEVICE_ID_ASP_1200A ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {PCI_VENDOR_ID_ASP ,PCI_DEVICE_ID_ASP_ABP940 ,
drivers/scsi/aha152x.c +1 -1
@@ -420,7 +420,7 @@ MODULE_PARM_DESC(aha152x1, "parameters for second controller");#endif /* MODULE */ #ifdef __ISAPNP__ -static struct isapnp_device_id id_table[]__devinitdata = { +static struct isapnp_device_id id_table[] = { {ISAPNP_ANY_ID ,ISAPNP_ANY_ID ,ISAPNP_VENDOR ('A' ,'D' ,'P' ),ISAPNP_FUNCTION (0x1502 ),0 }, {ISAPNP_ANY_ID ,ISAPNP_ANY_ID ,ISAPNP_VENDOR ('A' ,'D' ,'P' ),ISAPNP_FUNCTION (0x1505 ),0 }, { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1510), 0 },
drivers/scsi/bnx2fc/bnx2fc_fcoe.c +1 -1
@@ -25,7 +25,7 @@ DEFINE_PER_CPU(struct bnx2fc_percpu_s, bnx2fc_percpu);#define DRV_MODULE_RELDATE "Jun 04, 2012" -static char version[]__devinitdata = +static char version[] ="Broadcom NetXtreme II FCoE Driver " DRV_MODULE_NAME \" v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n" ;
drivers/scsi/bnx2i/bnx2i_init.c +1 -1
@@ -21,7 +21,7 @@ static u32 adapter_count;#define DRV_MODULE_VERSION "2.7.2.2"#define DRV_MODULE_RELDATE "Apr 25, 2012" -static char version[]__devinitdata = +static char version[] ="Broadcom NetXtreme II iSCSI Driver " DRV_MODULE_NAME \" v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n" ;
drivers/scsi/dc395x.c +2 -2
@@ -489,7 +489,7 @@ struct ParameterData {int def;/* default value */ int safe;/* safe value */ }; -static struct ParameterData __devinitdata cfg_data[] = { +static struct ParameterData cfg_data[] = { {/* adapter id */ CFG_PARAM_UNSET ,0 ,
@@ -620,7 +620,7 @@ static void fix_settings(void)* Mapping from the eeprom delay index value (index into this array) * to the number of actual seconds that the delay should be for. */ -static char __devinitdata eeprom_index_to_delay_map[] = +static char eeprom_index_to_delay_map[] = {1 ,3 ,5 ,10 ,16 ,30 ,60 ,120 };
drivers/scsi/fdomain.c +1 -1
@@ -1771,7 +1771,7 @@ struct scsi_host_template fdomain_driver_template = {#ifndef PCMCIA #ifdef CONFIG_PCI -static struct pci_device_id fdomain_pci_tbl[]__devinitdata = { +static struct pci_device_id fdomain_pci_tbl[] = { {PCI_VENDOR_ID_FD ,PCI_DEVICE_ID_FD_36C70 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0UL }, { }
drivers/scsi/g_NCR5380.c +1 -1
@@ -939,7 +939,7 @@ module_param(dtc_3181e, int, 0);MODULE_LICENSE ("GPL" ); #ifndef SCSI_G_NCR5380_MEM -static struct isapnp_device_id id_table[] __devinitdata = { +static struct isapnp_device_id id_table[] = { { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('D', 'T', 'C'), ISAPNP_FUNCTION(0x436e),
drivers/scsi/gvp11.c +1 -1
@@ -398,7 +398,7 @@ static void __devexit gvp11_remove(struct zorro_dev *z)* SERIES I though). */ -static struct zorro_device_id gvp11_zorro_tbl[]__devinitdata = { +static struct zorro_device_id gvp11_zorro_tbl[] = { {ZORRO_PROD_GVP_COMBO_030_R3_SCSI , ~0x00ffffff }, {ZORRO_PROD_GVP_SERIES_II , ~0x00ffffff }, {ZORRO_PROD_GVP_GFORCE_030_SCSI , ~0x01ffffff },
drivers/scsi/ibmvscsi/ibmvfc.c +1 -1
@@ -4905,7 +4905,7 @@ static unsigned long ibmvfc_get_desired_dma(struct vio_dev *vdev)return pool_dma + ((512 *1024 ) * driver_template.cmd_per_lun); } -static struct vio_device_id ibmvfc_device_table[]__devinitdata = { +static struct vio_device_id ibmvfc_device_table[] = { {"fcp" ,"IBM,vfc-client" }, {"" ,"" } };
drivers/scsi/ibmvscsi/ibmvscsi.c +1 -1
@@ -2362,7 +2362,7 @@ static int ibmvscsi_resume(struct device *dev)* ibmvscsi_device_table: Used by vio.c to match devices in the device tree we * support. */ -static struct vio_device_id ibmvscsi_device_table[]__devinitdata = { +static struct vio_device_id ibmvscsi_device_table[] = { {"vscsi" ,"IBM,v-scsi" }, {"" ,"" } };
drivers/scsi/ibmvscsi/ibmvstgt.c +1 -1
@@ -907,7 +907,7 @@ static int ibmvstgt_remove(struct vio_dev *dev)return 0 ; } -static struct vio_device_id ibmvstgt_device_table[]__devinitdata = { +static struct vio_device_id ibmvstgt_device_table[] = { {"v-scsi-host" ,"IBM,v-scsi-host" }, {"" ,"" } };
drivers/scsi/ipr.c +1 -1
@@ -9217,7 +9217,7 @@ static void ipr_shutdown(struct pci_dev *pdev)wait_event (ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); } -static struct pci_device_id ipr_pci_table[]__devinitdata = { +static struct pci_device_id ipr_pci_table[] = { {PCI_VENDOR_ID_MYLEX ,PCI_DEVICE_ID_IBM_GEMSTONE ,PCI_VENDOR_ID_IBM ,IPR_SUBS_DEV_ID_5702 ,0 ,0 ,0 }, {PCI_VENDOR_ID_MYLEX ,PCI_DEVICE_ID_IBM_GEMSTONE ,
drivers/scsi/mvsas/mv_init.c +1 -1
@@ -677,7 +677,7 @@ static void __devexit mvs_pci_remove(struct pci_dev *pdev)return ; } -static struct pci_device_id __devinitdata mvs_pci_table[] = { +static struct pci_device_id mvs_pci_table[] = { {PCI_VDEVICE (MARVELL ,0x6320 ), chip_6320 }, {PCI_VDEVICE (MARVELL ,0x6340 ), chip_6440 }, {
drivers/scsi/nsp32.c +1 -1
@@ -76,7 +76,7 @@ static const char *nsp32_release_version = "1.2";/**************************************************************************** * Supported hardware */ -static struct pci_device_id nsp32_pci_table[]__devinitdata = { +static struct pci_device_id nsp32_pci_table[] = { { .vendor =PCI_VENDOR_ID_IODATA , .device =PCI_DEVICE_ID_NINJASCSI_32BI_CBSC_II ,
drivers/scsi/pm8001/pm8001_init.c +1 -1
@@ -841,7 +841,7 @@ err_out_enable:return rc; } -static struct pci_device_id __devinitdata pm8001_pci_table[] = { +static struct pci_device_id pm8001_pci_table[] = { {PCI_VDEVICE (PMC_Sierra,0x8001 ), chip_8001 },
drivers/scsi/pmcraid.c +1 -1
@@ -125,7 +125,7 @@ static struct pmcraid_chip_details pmcraid_chip_cfg[] = {/* * PCI device ids supported by pmcraid driver */ -static struct pci_device_id pmcraid_pci_table[]__devinitdata = { +static struct pci_device_id pmcraid_pci_table[] = { {PCI_DEVICE (PCI_VENDOR_ID_PMC ,PCI_DEVICE_ID_PMC_MAXRAID ),0 ,0 , (kernel_ulong_t)&pmcraid_chip_cfg[0 ] },
drivers/scsi/sym53c416.c +1 -1
@@ -581,7 +581,7 @@ static int sym53c416_test(int base) } -static struct isapnp_device_id id_table[]__devinitdata = { +static struct isapnp_device_id id_table[] = { {ISAPNP_ANY_ID ,ISAPNP_ANY_ID ,ISAPNP_VENDOR ('S' ,'L' ,'I' ),ISAPNP_FUNCTION (0x4161 ),0 }, {ISAPNP_ANY_ID ,ISAPNP_ANY_ID ,
drivers/scsi/sym53c8xx_2/sym_glue.c +1 -1
@@ -2077,7 +2077,7 @@ static struct spi_function_template sym2_transport_functions = { .get_signalling = sym2_get_signalling, }; -static struct pci_device_id sym2_id_table[]__devinitdata = { +static struct pci_device_id sym2_id_table[] = { {PCI_VENDOR_ID_LSI_LOGIC ,PCI_DEVICE_ID_NCR_53C810 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0UL }, {PCI_VENDOR_ID_LSI_LOGIC ,PCI_DEVICE_ID_NCR_53C820 ,
drivers/scsi/tmscsim.c +1 -1
@@ -2305,7 +2305,7 @@ static void dc390_eeprom_override(u8 index) } } -static int __devinitdata tmscsim_def[] = { +static int tmscsim_def[] = {7 ,0 /* 10MHz */ ,PARITY_CHK_ |SEND_START_ |EN_DISCONNECT_ |SYNC_NEGO_ |TAG_QUEUEING_ ,
drivers/scsi/zorro7xx.c +2 -2
@@ -38,7 +38,7 @@ static struct zorro_driver_data {const char *name;unsigned long offset;int absolute;/* offset is absolute address */ -} zorro7xx_driver_data[] __devinitdata = { +} zorro7xx_driver_data[] = { { .name = "PowerUP 603e+", .offset = 0xf40000, .absolute = 1 }, { .name = "WarpEngine 40xx", .offset = 0x40000 }, { .name = "A4091", .offset = 0x800000 },
@@ -46,7 +46,7 @@ static struct zorro_driver_data { { 0 } }; -static struct zorro_device_id zorro7xx_zorro_tbl[]__devinitdata = { +static struct zorro_device_id zorro7xx_zorro_tbl[] = { { .id =ZORRO_PROD_PHASE5_BLIZZARD_603E_PLUS , .driver_data = (unsigned long )&zorro7xx_driver_data[0 ],
Signature · 1 line
1.8.0
Re: [PATCH 319/493] scsi: remove use of __devinitdata
Quoted 1 line · Bill Pemberton
drivers/scsi/tmscsim.c | 2 +-
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
Masanori Goto
Acked-by GOTO MasanoriRe: [PATCH 319/493] scsi: remove use of __devinitdata
2012/11/23 Guennadi Liakhovetski <[email protected]>:
Quoted 5 lines · Bill Pemberton
Quoted 2 lines
drivers/scsi/tmscsim.c | 2 +-
Regards,
-- gotom
Quoted 8 lines
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
PATCH 323/493 tty: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/tty/hvc/hvc_opal.c | 2 +- drivers/tty/hvc/hvc_vio.c | 2 +- drivers/tty/rocket.c | 2 +- drivers/tty/serial/8250/8250_pci.c | 2 +- drivers/tty/serial/8250/8250_pnp.c | 2 +- drivers/tty/serial/of_serial.c | 2 +- drivers/tty/serial/sirfsoc_uart.c | 2 +- drivers/tty/serial/uartlite.c | 2 +- drivers/tty/serial/xilinx_uartps.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-)
drivers/tty/hvc/hvc_opal.c +1 -1
@@ -41,7 +41,7 @@static const char hvc_opal_name[] ="hvc_opal" ; -static struct of_device_id hvc_opal_match[]__devinitdata = { +static struct of_device_id hvc_opal_match[] = { { .name ="serial" , .compatible ="ibm,opal-console-raw" }, { .name ="serial" , .compatible ="ibm,opal-console-hvsi" }, { },
drivers/tty/hvc/hvc_vio.c +1 -1
@@ -53,7 +53,7 @@static const char hvc_driver_name[] ="hvc_console" ; -static struct vio_device_id hvc_driver_table[]__devinitdata = { +static struct vio_device_id hvc_driver_table[] = { {"serial" ,"hvterm1" }, #ifndef HVC_OLD_HVSI {"serial", "hvterm-protocol"},
drivers/tty/rocket.c +1 -1
@@ -1757,7 +1757,7 @@ static void rp_flush_buffer(struct tty_struct *tty)#ifdef CONFIG_PCI -static struct pci_device_id __devinitdata __used rocket_pci_ids[] = { +static struct pci_device_id __used rocket_pci_ids[] = { {PCI_DEVICE (PCI_VENDOR_ID_RP ,PCI_ANY_ID ) }, { } };
drivers/tty/serial/8250/8250_pci.c +1 -1
@@ -1987,7 +1987,7 @@ enum pci_board_num_t {* see first lines of serial_in() and serial_out() in 8250.c */ -static struct pciserial_board pci_boards[]__devinitdata = { +static struct pciserial_board pci_boards[] = { [pbn_default] = { .flags =FL_BASE0 , .num_ports =1 ,
drivers/tty/serial/8250/8250_pnp.c +1 -1
@@ -370,7 +370,7 @@ static const struct pnp_device_id pnp_dev_table[] = {MODULE_DEVICE_TABLE (pnp, pnp_dev_table); -static char *modem_names[]__devinitdata = { +static char *modem_names[] = {"MODEM" ,"Modem" ,"modem" ,"FAX" ,"Fax" ,"fax" ,"56K" ,"56k" ,"K56" ,"33.6" ,"28.8" ,"14.4" ,"33,600" ,"28,800" ,"14,400" ,"33.600" ,"28.800" ,"14.400" ,
drivers/tty/serial/of_serial.c +1 -1
@@ -231,7 +231,7 @@ static int of_platform_serial_remove(struct platform_device *ofdev)/* * A few common types, add more as needed. */ -static struct of_device_id __devinitdata of_platform_serial_table[] = { +static struct of_device_id of_platform_serial_table[] = { { .compatible ="ns8250" , .data = (void *)PORT_8250 , }, { .compatible ="ns16450" , .data = (void *)PORT_16450 , }, { .compatible ="ns16550a" , .data = (void *)PORT_16550A , },
drivers/tty/serial/sirfsoc_uart.c +1 -1
@@ -727,7 +727,7 @@ static int sirfsoc_uart_resume(struct platform_device *pdev)return 0 ; } -static struct of_device_id sirfsoc_uart_ids[]__devinitdata = { +static struct of_device_id sirfsoc_uart_ids[] = { { .compatible ="sirf,prima2-uart" , }, {} };
drivers/tty/serial/uartlite.c +1 -1
@@ -562,7 +562,7 @@ static int __devexit ulite_release(struct device *dev)#if defined(CONFIG_OF )/* Match table for of_platform binding */ -static struct of_device_id ulite_of_match[]__devinitdata = { +static struct of_device_id ulite_of_match[] = { { .compatible ="xlnx,opb-uartlite-1.00.b" , }, { .compatible ="xlnx,xps-uartlite-1.00.a" , }, {}
drivers/tty/serial/xilinx_uartps.c +1 -1
@@ -1046,7 +1046,7 @@ static int xuartps_resume(struct platform_device *pdev)/* Match table for of_platform binding */ #ifdef CONFIG_OF -static struct of_device_id xuartps_of_match[]__devinitdata = { +static struct of_device_id xuartps_of_match[] = { { .compatible ="xlnx,xuartps" , }, {} };
Signature · 1 line
1.8.0
PATCH 330/493 platform/x86: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/platform/x86/acer-wmi.c | 2 +- drivers/platform/x86/dell-laptop.c | 2 +- drivers/platform/x86/thinkpad_acpi.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
drivers/platform/x86/acer-wmi.c +1 -1
@@ -335,7 +335,7 @@ static struct quirk_entry quirk_lenovo_ideapad_s205 = { };/* The Aspire One has a dummy ACPI-WMI interface - disable it */ -static struct dmi_system_id __devinitdata acer_blacklist[] = { +static struct dmi_system_id acer_blacklist[] = { { .ident ="Acer Aspire One (SSD)" , .matches = {
drivers/platform/x86/dell-laptop.c +1 -1
@@ -115,7 +115,7 @@ static const struct dmi_system_id dell_device_table[] __initconst = { };MODULE_DEVICE_TABLE (dmi, dell_device_table); -static struct dmi_system_id __devinitdata dell_quirks[] = { +static struct dmi_system_id dell_quirks[] = { { .callback = dmi_matched, .ident ="Dell Vostro V130" ,
drivers/platform/x86/thinkpad_acpi.c +2 -2
@@ -6732,7 +6732,7 @@ static int volume_alsa_mute_put(struct snd_kcontrol *kcontrol,return volume_alsa_set_mute (!ucontrol->value.integer.value[0 ]); } -static struct snd_kcontrol_new volume_alsa_control_vol__devinitdata = { +static struct snd_kcontrol_new volume_alsa_control_vol = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Console Playback Volume" , .index =0 ,
@@ -6741,7 +6741,7 @@ static struct snd_kcontrol_new volume_alsa_control_vol __devinitdata = { .get = volume_alsa_vol_get, }; -static struct snd_kcontrol_new volume_alsa_control_mute__devinitdata = { +static struct snd_kcontrol_new volume_alsa_control_mute = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Console Playback Switch" , .index =0 ,
Signature · 1 line
1.8.0
PATCH 331/493 ethernet: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/net/ethernet/3com/3c509.c | 2 +- drivers/net/ethernet/3com/3c59x.c | 2 +- drivers/net/ethernet/3com/typhoon.c | 2 +- drivers/net/ethernet/8390/hydra.c | 2 +- drivers/net/ethernet/8390/ne2k-pci.c | 2 +- drivers/net/ethernet/8390/zorro8390.c | 4 ++-- drivers/net/ethernet/amd/a2065.c | 2 +- drivers/net/ethernet/amd/ariadne.c | 2 +- drivers/net/ethernet/amd/declance.c | 2 +- drivers/net/ethernet/atheros/atl1e/atl1e_param.c | 2 +- drivers/net/ethernet/atheros/atlx/atl1.c | 2 +- drivers/net/ethernet/atheros/atlx/atl2.c | 2 +- drivers/net/ethernet/broadcom/bnx2.c | 4 ++-- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 4 ++-- drivers/net/ethernet/broadcom/cnic.c | 2 +- drivers/net/ethernet/broadcom/tg3.c | 4 ++-- drivers/net/ethernet/dec/tulip/dmfe.c | 2 +- drivers/net/ethernet/dec/tulip/eeprom.c | 2 +- drivers/net/ethernet/dec/tulip/tulip_core.c | 2 +- drivers/net/ethernet/dec/tulip/uli526x.c | 2 +- drivers/net/ethernet/dlink/dl2k.c | 2 +- drivers/net/ethernet/i825xx/ether1.c | 2 +- drivers/net/ethernet/ibm/emac/core.c | 2 +- drivers/net/ethernet/ibm/ibmveth.c | 2 +- drivers/net/ethernet/intel/e1000/e1000_param.c | 2 +- drivers/net/ethernet/intel/e1000e/param.c | 2 +- drivers/net/ethernet/intel/ixgb/ixgb_param.c | 2 +- drivers/net/ethernet/mellanox/mlx4/main.c | 2 +- drivers/net/ethernet/micrel/ksz884x.c | 2 +- drivers/net/ethernet/natsemi/ibmlana.c | 2 +- drivers/net/ethernet/natsemi/natsemi.c | 2 +- drivers/net/ethernet/rdc/r6040.c | 2 +- drivers/net/ethernet/seeq/ether3.c | 2 +- drivers/net/ethernet/smsc/epic100.c | 4 ++-- drivers/net/ethernet/sun/cassini.c | 4 ++-- drivers/net/ethernet/sun/niu.c | 2 +- drivers/net/ethernet/sun/sungem.c | 2 +- drivers/net/ethernet/sun/sunvnet.c | 2 +- drivers/net/ethernet/toshiba/tc35815.c | 2 +- drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +- drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 +- 42 files changed, 48 insertions(+), 48 deletions(-)
drivers/net/ethernet/3com/3c509.c +1 -1
@@ -92,7 +92,7 @@#include <asm/io.h> #include <asm/irq.h> -static char version[]__devinitdata =DRV_NAME ".c:" DRV_VERSION " " DRV_RELDATE " becker at scyld.com\n" ; +static char version[] =DRV_NAME ".c:" DRV_VERSION " " DRV_RELDATE " becker at scyld.com\n" ;#ifdef EL3_DEBUG static int el3_debug =EL3_DEBUG ;
drivers/net/ethernet/3com/3c59x.c +1 -1
@@ -277,7 +277,7 @@ static struct vortex_chip_info {int flags;int drv_flags;int io_size; -} vortex_info_tbl[] __devinitdata = { +} vortex_info_tbl[] = { {"3c590 Vortex 10Mbps" , PCI_USES_MASTER, IS_VORTEX, 32, }, {"3c592 EISA 10Mbps Demon/Vortex", /* AKPM: from Don's 3c59x_cb.c 0.49H */
drivers/net/ethernet/3com/typhoon.c +1 -1
@@ -168,7 +168,7 @@ enum typhoon_cards { };/* directly indexed by enum typhoon_cards, above */ -static struct typhoon_card_info typhoon_card_info[]__devinitdata = { +static struct typhoon_card_info typhoon_card_info[] = { {"3Com Typhoon (3C990-TX)" ,TYPHOON_CRYPTO_NONE }, {"3Com Typhoon (3CR990-TX-95)" ,
drivers/net/ethernet/8390/hydra.c +1 -1
@@ -67,7 +67,7 @@ static void hydra_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page); static void __devexit hydra_remove_one(struct zorro_dev *z); -static struct zorro_device_id hydra_zorro_tbl[]__devinitdata = { +static struct zorro_device_id hydra_zorro_tbl[] = { {ZORRO_PROD_HYDRA_SYSTEMS_AMIGANET }, {0 } };
drivers/net/ethernet/8390/ne2k-pci.c +1 -1
@@ -119,7 +119,7 @@ enum ne2k_pci_chipsets {static struct {char *name;int flags; -} pci_clone_list[]__devinitdata = { +} pci_clone_list[] = { {"RealTek RTL-8029" ,REALTEK_FDX }, {"Winbond 89C940" ,0 }, {"Compex RL2000" ,0 },
drivers/net/ethernet/8390/zorro8390.c +2 -2
@@ -75,7 +75,7 @@ static struct card_info {zorro_id id;const char *name;unsigned int offset; -} cards[] __devinitdata = { +} cards[] = { { ZORRO_PROD_VILLAGE_TRONIC_ARIADNE2, "Ariadne II", 0x0600 }, { ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF, "X-Surf", 0x8600 }, };
@@ -264,7 +264,7 @@ static void __devexit zorro8390_remove_one(struct zorro_dev *z)free_netdev (dev); } -static struct zorro_device_id zorro8390_zorro_tbl[]__devinitdata = { +static struct zorro_device_id zorro8390_zorro_tbl[] = { {ZORRO_PROD_VILLAGE_TRONIC_ARIADNE2 , }, {ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF , }, {0 }
drivers/net/ethernet/amd/a2065.c +1 -1
@@ -644,7 +644,7 @@ static int a2065_init_one(struct zorro_dev *z, static void __devexit a2065_remove_one(struct zorro_dev *z); -static struct zorro_device_id a2065_zorro_tbl[]__devinitdata = { +static struct zorro_device_id a2065_zorro_tbl[] = { {ZORRO_PROD_CBM_A2065_1 }, {ZORRO_PROD_CBM_A2065_2 }, {ZORRO_PROD_AMERISTAR_A2065 },
drivers/net/ethernet/amd/ariadne.c +1 -1
@@ -692,7 +692,7 @@ static void __devexit ariadne_remove_one(struct zorro_dev *z)free_netdev (dev); } -static struct zorro_device_id ariadne_zorro_tbl[]__devinitdata = { +static struct zorro_device_id ariadne_zorro_tbl[] = { {ZORRO_PROD_VILLAGE_TRONIC_ARIADNE }, {0 } };
drivers/net/ethernet/amd/declance.c +1 -1
@@ -72,7 +72,7 @@#include <asm/dec/machtype.h> #include <asm/dec/system.h> -static char version[]__devinitdata = +static char version[] ="declance.c: v0.011 by Linux MIPS DECstation task force\n" ;MODULE_AUTHOR ("Linux MIPS DECstation task force" );
drivers/net/ethernet/atheros/atl1e/atl1e_param.c +1 -1
@@ -40,7 +40,7 @@#define ATL1E_PARAM_INIT { [0 ... ATL1E_MAX_NIC] = OPTION_UNSET }#define ATL1E_PARAM (x, desc) \ - static int __devinitdata x[ATL1E_MAX_NIC + 1] = ATL1E_PARAM_INIT; \ + static int x[ATL1E_MAX_NIC + 1] = ATL1E_PARAM_INIT; \ static unsigned int num_##x; \ module_param_array_named(x, x, int, &num_##x, 0); \ MODULE_PARM_DESC(x, desc);
drivers/net/ethernet/atheros/atlx/atl1.c +1 -1
@@ -113,7 +113,7 @@ static const struct ethtool_ops atl1_ethtool_ops;* * Default Value: 100 (200us) */ -static int __devinitdata int_mod_timer[ATL1_MAX_NIC +1 ] =ATL1_PARAM_INIT ; +static int int_mod_timer[ATL1_MAX_NIC +1 ] =ATL1_PARAM_INIT ;static unsigned int num_int_mod_timer;module_param_array_named (int_mod_timer, int_mod_timer, int, &num_int_mod_timer,0 );
drivers/net/ethernet/atheros/atlx/atl2.c +1 -1
@@ -2850,7 +2850,7 @@ static void atl2_force_ps(struct atl2_hw *hw)MODULE_PARM_DESC (X , desc);#else #define ATL2_PARAM (X , desc) \ - static int __devinitdata X[ATL2_MAX_NIC+1] = ATL2_PARAM_INIT; \ + static int X[ATL2_MAX_NIC+1] = ATL2_PARAM_INIT; \ static unsigned int num_##X; \ module_param_array_named(X, X, int, &num_##X, 0); \ MODULE_PARM_DESC(X, desc);
drivers/net/ethernet/broadcom/bnx2.c +2 -2
@@ -71,7 +71,7 @@/* Time in jiffies before concluding the transmitter is hung. */ #define TX_TIMEOUT (5*HZ) -static char version[]__devinitdata = +static char version[] ="Broadcom NetXtreme II Gigabit Ethernet Driver " DRV_MODULE_NAME " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n" ;MODULE_AUTHOR ("Michael Chan <[email protected]>" );
@@ -106,7 +106,7 @@ typedef enum {/* indexed by board_t, above */ static struct {char *name; -} board_info[]__devinitdata = { +} board_info[] = { {"Broadcom NetXtreme II BCM5706 1000Base-T" }, {"HP NC370T Multifunction Gigabit Server Adapter" }, {"HP NC370i Multifunction Gigabit Server Adapter" },
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +2 -2
@@ -79,7 +79,7 @@/* Time in jiffies before concluding the transmitter is hung */ #define TX_TIMEOUT (5*HZ) -static char version[]__devinitdata = +static char version[] ="Broadcom NetXtreme II 5771x/578xx 10/20-Gigabit Ethernet Driver " DRV_MODULE_NAME " " DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n" ;
@@ -149,7 +149,7 @@ enum bnx2x_board_type {/* indexed by board_type, above */ static struct {char *name; -} board_info[]__devinitdata = { +} board_info[] = { {"Broadcom NetXtreme II BCM57710 10 Gigabit PCIe [Everest]" }, {"Broadcom NetXtreme II BCM57711 10 Gigabit PCIe" }, {"Broadcom NetXtreme II BCM57711E 10 Gigabit PCIe" },
drivers/net/ethernet/broadcom/cnic.c +1 -1
@@ -53,7 +53,7 @@#define DRV_MODULE_NAME "cnic" -static char version[]__devinitdata = +static char version[] ="Broadcom NetXtreme II CNIC Driver " DRV_MODULE_NAME " v" CNIC_MODULE_VERSION " (" CNIC_MODULE_RELDATE ")\n" ; MODULE_AUTHOR("Michael Chan <[email protected]> and John(Zongxi) "
drivers/net/ethernet/broadcom/tg3.c +2 -2
@@ -211,7 +211,7 @@ static inline void _tg3_flag_clear(enum TG3_FLAGS flag, unsigned long *bits)#define FIRMWARE_TG3TSO "tigon/tg3_tso.bin"#define FIRMWARE_TG3TSO5 "tigon/tg3_tso5.bin" -static char version[]__devinitdata = +static char version[] =DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")" ;MODULE_AUTHOR ("David S. Miller (davem at redhat.com) and Jeff Garzik (jgarzik at pobox.com)" );
@@ -13474,7 +13474,7 @@ struct subsys_tbl_ent {u32 phy_id; }; -static struct subsys_tbl_ent subsys_id_to_phy_id[]__devinitdata = { +static struct subsys_tbl_ent subsys_id_to_phy_id[] = {/* Broadcom boards. */ {TG3PCI_SUBVENDOR_ID_BROADCOM ,TG3PCI_SUBDEVICE_ID_BROADCOM_95700A6 ,TG3_PHY_ID_BCM5401 },
drivers/net/ethernet/dec/tulip/dmfe.c +1 -1
@@ -291,7 +291,7 @@ enum dmfe_CR6_bits { };/* Global variable declaration ----------------------------- */ -static int __devinitdata printed_version; +static int printed_version;static const char version[]__devinitconst ="Davicom DM9xxx net driver, version " DRV_VERSION " (" DRV_RELDATE ")" ;
drivers/net/ethernet/dec/tulip/eeprom.c +1 -1
@@ -26,7 +26,7 @@*/ /* Known cards that have old-style EEPROMs. */ -static struct eeprom_fixup eeprom_fixups[]__devinitdata = { +static struct eeprom_fixup eeprom_fixups[] = { {"Asante" ,0 ,0 ,0x94 , {0x1e00 ,0x0000 ,0x0800 ,0x0100 ,0x018c ,0x0000 ,0x0000 ,0xe078 ,0x0001 ,0x0050 ,0x0018 }}, {"SMC9332DST" ,0 ,0 ,0xC0 , {0x1e00 ,0x0000 ,0x0800 ,0x041f ,
drivers/net/ethernet/dec/tulip/tulip_core.c +1 -1
@@ -37,7 +37,7 @@#include <asm/prom.h> #endif -static char version[]__devinitdata = +static char version[] ="Linux Tulip driver version " DRV_VERSION " (" DRV_RELDATE ")\n" ;/* A few user-configurable values. */
drivers/net/ethernet/dec/tulip/uli526x.c +1 -1
@@ -204,7 +204,7 @@ enum uli526x_CR6_bits { };/* Global variable declaration ----------------------------- */ -static int __devinitdata printed_version; +static int printed_version;static const char version[]__devinitconst ="ULi M5261/M5263 net driver, version " DRV_VERSION " (" DRV_RELDATE ")" ;
drivers/net/ethernet/dlink/dl2k.c +1 -1
@@ -23,7 +23,7 @@#define dr16 (reg) ioread16(ioaddr + (reg))#define dr8 (reg) ioread8(ioaddr + (reg)) -static char version[]__devinitdata = +static char version[] = KERN_INFO DRV_NAME " " DRV_VERSION " " DRV_RELDATE "\n";#define MAX_UNITS 8static int mtu[MAX_UNITS ];
drivers/net/ethernet/i825xx/ether1.c +1 -1
@@ -72,7 +72,7 @@ static void ether1_timeout(struct net_device *dev);/* ------------------------------------------------------------------------- */ -static char version[]__devinitdata ="ether1 ethernet driver (c) 2000 Russell King v1.07\n" ; +static char version[] ="ether1 ethernet driver (c) 2000 Russell King v1.07\n" ;#define BUS_16 16#define BUS_8 8
drivers/net/ethernet/ibm/emac/core.c +1 -1
@@ -2323,7 +2323,7 @@ static int emac_of_bus_notify(struct notifier_block *nb,return 0 ; } -static struct notifier_block emac_of_bus_notifier__devinitdata = { +static struct notifier_block emac_of_bus_notifier = { .notifier_call = emac_of_bus_notify };
drivers/net/ethernet/ibm/ibmveth.c +1 -1
@@ -1593,7 +1593,7 @@ static int ibmveth_resume(struct device *dev)return 0 ; } -static struct vio_device_id ibmveth_device_table[]__devinitdata = { +static struct vio_device_id ibmveth_device_table[] = { {"network" ,"IBM,l-lan" }, {"" ,"" } };
drivers/net/ethernet/intel/e1000/e1000_param.c +1 -1
@@ -45,7 +45,7 @@#define E1000_PARAM_INIT { [0 ... E1000_MAX_NIC] = OPTION_UNSET }#define E1000_PARAM (X , desc) \ - static int __devinitdata X[E1000_MAX_NIC+1] = E1000_PARAM_INIT; \ + static int X[E1000_MAX_NIC+1] = E1000_PARAM_INIT; \ static unsigned int num_##X; \ module_param_array_named(X, X, int, &num_##X, 0); \ MODULE_PARM_DESC(X, desc);
drivers/net/ethernet/intel/e1000e/param.c +1 -1
@@ -57,7 +57,7 @@ MODULE_PARM_DESC(copybreak,#define E1000_PARAM_INIT { [0 ... E1000_MAX_NIC] = OPTION_UNSET }#define E1000_PARAM (X , desc) \ - static int __devinitdata X[E1000_MAX_NIC+1] \ + static int X[E1000_MAX_NIC+1] \ = E1000_PARAM_INIT; \ static unsigned int num_##X; \ module_param_array_named(X, X, int, &num_##X, 0); \
drivers/net/ethernet/intel/ixgb/ixgb_param.c +1 -1
@@ -47,7 +47,7 @@#define IXGB_PARAM_INIT { [0 ... IXGB_MAX_NIC] = OPTION_UNSET }#define IXGB_PARAM (X , desc) \ - static int __devinitdata X[IXGB_MAX_NIC+1] \ + static int X[IXGB_MAX_NIC+1] \ = IXGB_PARAM_INIT; \ static unsigned int num_##X = 0; \ module_param_array_named(X, X, int, &num_##X, 0); \
drivers/net/ethernet/mellanox/mlx4/main.c +1 -1
@@ -98,7 +98,7 @@ MODULE_PARM_DESC(log_num_mgm_entry_size, "log mgm size, that defines the num"#define HCA_GLOBAL_CAP_MASK 0#define PF_CONTEXT_BEHAVIOUR_MASK 0 -static char mlx4_version[]__devinitdata = +static char mlx4_version[] =DRV_NAME ": Mellanox ConnectX core driver v" DRV_VERSION " (" DRV_RELDATE ")\n" ;
drivers/net/ethernet/micrel/ksz884x.c +1 -1
@@ -1487,7 +1487,7 @@ struct dev_priv {#define DRV_VERSION "1.0.0"#define DRV_RELDATE "Feb 8, 2010" -static char version[]__devinitdata = +static char version[] ="Micrel " DEVICE_NAME " " DRV_VERSION " (" DRV_RELDATE ")" ;static u8 DEFAULT_MAC_ADDRESS [] = {0x00 ,0x10 ,0xA1 ,0x88 ,0x42 ,0x01 };
drivers/net/ethernet/natsemi/ibmlana.c +1 -1
@@ -900,7 +900,7 @@ static short ibmlana_adapter_ids[] __initdata = { 0x0000 }; -static char *ibmlana_adapter_names[]__devinitdata = { +static char *ibmlana_adapter_names[] = {"IBM LAN Adapter/A" ,NULL };
drivers/net/ethernet/natsemi/natsemi.c +1 -1
@@ -242,7 +242,7 @@ static struct {const char *name;unsigned long flags;unsigned int eeprom_size; -} natsemi_pci_info[] __devinitdata = { +} natsemi_pci_info[] = { { "Aculab E1/T1 PMXc cPCI carrier card", NATSEMI_FLAG_IGNORE_PHY, 128 }, { "NatSemi DP8381[56]", 0, 24 }, };
drivers/net/ethernet/rdc/r6040.c +1 -1
@@ -206,7 +206,7 @@ struct r6040_private {int old_duplex; }; -static char version[]__devinitdata =DRV_NAME +static char version[] =DRV_NAME ": RDC R6040 NAPI net driver," "version " DRV_VERSION " (" DRV_RELDATE ")" ;
drivers/net/ethernet/seeq/ether3.c +1 -1
@@ -67,7 +67,7 @@#include <asm/ecard.h> #include <asm/io.h> -static char version[]__devinitdata ="ether3 ethernet driver (c) 1995-2000 R.M.King v1.17\n" ; +static char version[] ="ether3 ethernet driver (c) 1995-2000 R.M.King v1.17\n" ;#include "ether3.h"
drivers/net/ethernet/smsc/epic100.c +2 -2
@@ -90,9 +90,9 @@ static int rx_copybreak;#include <asm/byteorder.h> /* These identify the driver base version and may not be removed. */ -static char version[]__devinitdata = +static char version[] =DRV_NAME ".c:v1.11 1/7/2001 Written by Donald Becker <[email protected]>\n" ; -static char version2[]__devinitdata = +static char version2[] =" (unofficial 2.4.x kernel port, version " DRV_VERSION ", " DRV_RELDATE ")\n" ;MODULE_AUTHOR ("Donald Becker <[email protected]>" );
drivers/net/ethernet/sun/cassini.c +2 -2
@@ -185,7 +185,7 @@#define CAS_RESET_SPARE 3#endif -static char version[]__devinitdata = +static char version[] =DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n" ;static int cassini_debug =-1 ;/* -1 == use CAS_DEF_MSG_ENABLE as value */
@@ -222,7 +222,7 @@ static int link_transition_timeout; -static u16 link_modes[]__devinitdata = { +static u16 link_modes[] = {BMCR_ANENABLE ,/* 0 : autoneg */ 0 ,/* 1 : 10bt half duplex */ BMCR_SPEED100 ,/* 2 : 100bt half duplex */
drivers/net/ethernet/sun/niu.c +1 -1
@@ -38,7 +38,7 @@#define DRV_MODULE_VERSION "1.1"#define DRV_MODULE_RELDATE "Apr 22, 2010" -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 at davemloft.net)" );
drivers/net/ethernet/sun/sungem.c +1 -1
@@ -77,7 +77,7 @@#define DRV_VERSION "1.0"#define DRV_AUTHOR "David S. Miller <[email protected]>" -static char version[]__devinitdata = +static char version[] =DRV_NAME ".c:v" DRV_VERSION " " DRV_AUTHOR "\n" ;MODULE_AUTHOR (DRV_AUTHOR );
drivers/net/ethernet/sun/sunvnet.c +1 -1
@@ -25,7 +25,7 @@#define DRV_MODULE_VERSION "1.0"#define DRV_MODULE_RELDATE "June 25, 2007" -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 at davemloft.net)" );MODULE_DESCRIPTION ("Sun LDOM virtual network driver" );
drivers/net/ethernet/toshiba/tc35815.c +1 -1
@@ -60,7 +60,7 @@ enum tc35815_chiptype {/* indexed by tc35815_chiptype, above */ static const struct {const char *name; -} chip_info[]__devinitdata = { +} chip_info[] = { {"TOSHIBA TC35815CF 10/100BaseTX" }, {"TOSHIBA TC35815 with Wake on LAN" }, {"TOSHIBA TC35815/TX4939" },
drivers/net/ethernet/xilinx/ll_temac_main.c +1 -1
@@ -1163,7 +1163,7 @@ static int __devexit temac_of_remove(struct platform_device *op)return 0 ; } -static struct of_device_id temac_of_match[]__devinitdata = { +static struct of_device_id temac_of_match[] = { { .compatible ="xlnx,xps-ll-temac-1.01.b" , }, { .compatible ="xlnx,xps-ll-temac-2.00.a" , }, { .compatible ="xlnx,xps-ll-temac-2.02.a" , },
drivers/net/ethernet/xilinx/xilinx_axienet_main.c +1 -1
@@ -48,7 +48,7 @@#define AXIENET_REGS_N 32/* Match table for of_platform binding */ -static struct of_device_id axienet_of_match[]__devinitdata = { +static struct of_device_id axienet_of_match[] = { { .compatible ="xlnx,axi-ethernet-1.00.a" , }, { .compatible ="xlnx,axi-ethernet-1.01.a" , }, { .compatible ="xlnx,axi-ethernet-2.01.a" , },
drivers/net/ethernet/xilinx/xilinx_emaclite.c +1 -1
@@ -1280,7 +1280,7 @@ static struct net_device_ops xemaclite_netdev_ops = { };/* Match table for OF platform binding */ -static struct of_device_id xemaclite_of_match[]__devinitdata = { +static struct of_device_id xemaclite_of_match[] = { { .compatible ="xlnx,opb-ethernetlite-1.01.a" , }, { .compatible ="xlnx,opb-ethernetlite-1.01.b" , }, { .compatible ="xlnx,xps-ethernetlite-1.00.a" , },
Signature · 1 line
1.8.0
Re: [PATCH 331/493] ethernet: remove use of __devinitdata
This is getting painful to review; why couldn't all the changes to one set of drivers be grouped together? I'm having to search out the same drivers I'm responsible for many times in this patch set to do a review, and it's getting extremely tiresome and probably becoming more probable that I'll make a mistake.
So I'm going to stop sending acked-by's after this one.
Please consider the workload you put reviewers under next time, thanks.
Quoted 2 lines · Bill Pemberton
drivers/net/ethernet/i825xx/ether1.c | 2 +- drivers/net/ethernet/seeq/ether3.c | 2 +-
Not sure if I missed couple are missing (etherh? am79c961a?)...
But for these two,
PATCH 332/493 media: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/media/pci/bt8xx/bt878.c | 2 +- drivers/media/pci/bt8xx/bttv-cards.c | 4 ++-- drivers/media/pci/bt8xx/bttv-i2c.c | 2 +- drivers/media/pci/cx18/cx18-driver.c | 2 +- drivers/media/pci/cx88/cx88-alsa.c | 2 +- drivers/media/pci/ddbridge/ddbridge-core.c | 2 +- drivers/media/pci/dm1105/dm1105.c | 2 +- drivers/media/pci/ivtv/ivtv-driver.c | 2 +- drivers/media/pci/ngene/ngene-cards.c | 2 +- drivers/media/pci/pluto2/pluto2.c | 4 ++-- drivers/media/pci/saa7134/saa7134.h | 2 +- drivers/media/pci/zoran/zoran_card.c | 2 +- drivers/media/pci/zoran/zoran_driver.c | 2 +- drivers/media/radio/radio-sf16fmi.c | 2 +- drivers/media/radio/radio-sf16fmr2.c | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-)
drivers/media/pci/bt8xx/bt878.c +1 -1
@@ -391,7 +391,7 @@ EXPORT_SYMBOL(bt878_device_control); .driver_data = (unsigned long) name \ } -static struct pci_device_id bt878_pci_tbl[]__devinitdata = { +static struct pci_device_id bt878_pci_tbl[] = {BROOKTREE_878_DEVICE (0x0071 ,0x0101 ,"Nebula Electronics DigiTV" ),BROOKTREE_878_DEVICE (0x1461 ,0x0761 ,"AverMedia AverTV DVB-T 761" ),BROOKTREE_878_DEVICE (0x11bd ,0x001c ,"Pinnacle PCTV Sat" ),
drivers/media/pci/bt8xx/bttv-cards.c +2 -2
@@ -151,7 +151,7 @@ static struct CARD {unsigned id;int cardnr;char *name; -} cards[] __devinitdata = { +} cards[] = { { 0x13eb0070, BTTV_BOARD_HAUPPAUGE878, "Hauppauge WinTV" }, { 0x39000070, BTTV_BOARD_HAUPPAUGE878, "Hauppauge WinTV-D" }, { 0x45000070, BTTV_BOARD_HAUPPAUGEPVR, "Hauppauge WinTV/PVR" },
@@ -3985,7 +3985,7 @@ static void boot_msp34xx(struct bttv *btv, int pin)static void init_PXC200 (struct bttv *btv) { -static int vals[]__devinitdata = {0x08 ,0x09 ,0x0a ,0x0b ,0x0d ,0x0d , +static int vals[] = {0x08 ,0x09 ,0x0a ,0x0b ,0x0d ,0x0d ,0x01 ,0x02 ,0x03 ,0x04 ,0x05 ,0x06 ,0x00 };unsigned int i;
drivers/media/pci/bt8xx/bttv-i2c.c +1 -1
@@ -99,7 +99,7 @@ static int bttv_bit_getsda(void *data)return state; } -static struct i2c_algo_bit_data __devinitdata bttv_i2c_algo_bit_template = { +static struct i2c_algo_bit_data bttv_i2c_algo_bit_template = { .setsda = bttv_bit_setsda, .setscl = bttv_bit_setscl, .getsda = bttv_bit_getsda,
drivers/media/pci/cx18/cx18-driver.c +1 -1
@@ -53,7 +53,7 @@ int (*cx18_ext_init)(struct cx18 *);EXPORT_SYMBOL (cx18_ext_init);/* add your revision and whatnot here */ -static struct pci_device_id cx18_pci_tbl[]__devinitdata = { +static struct pci_device_id cx18_pci_tbl[] = { {PCI_VENDOR_ID_CX ,PCI_DEVICE_ID_CX23418 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0 ,}
drivers/media/pci/cx88/cx88-alsa.c +1 -1
@@ -749,7 +749,7 @@ static struct snd_kcontrol_new snd_cx88_alc_switch = {* Only boards with eeprom and byte 1 at eeprom=1 have it */ -static const struct pci_device_id cx88_audio_pci_tbl[]__devinitdata = { +static const struct pci_device_id cx88_audio_pci_tbl[] = { {0x14f1 ,0x8801 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0x14f1 ,0x8811 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0 , }
drivers/media/pci/ddbridge/ddbridge-core.c +1 -1
@@ -1679,7 +1679,7 @@ static struct ddb_info ddb_v6 = { .subvendor = _subvend, .subdevice = _subdev, \ .driver_data = (unsigned long)&_driverdata } -static const struct pci_device_id ddb_id_tbl[]__devinitdata = { +static const struct pci_device_id ddb_id_tbl[] = {DDB_ID (DDVID ,0x0002 ,DDVID ,0x0001 , ddb_octopus),DDB_ID (DDVID ,0x0003 ,DDVID ,0x0001 , ddb_octopus),DDB_ID (DDVID ,0x0003 ,DDVID ,0x0002 , ddb_octopus_le),
drivers/media/pci/dm1105/dm1105.c +1 -1
@@ -1205,7 +1205,7 @@ static void __devexit dm1105_remove(struct pci_dev *pdev)kfree (dev); } -static struct pci_device_id dm1105_id_table[]__devinitdata = { +static struct pci_device_id dm1105_id_table[] = { { .vendor =PCI_VENDOR_ID_TRIGEM , .device =PCI_DEVICE_ID_DM1105 ,
drivers/media/pci/ivtv/ivtv-driver.c +1 -1
@@ -73,7 +73,7 @@ int (*ivtv_ext_init)(struct ivtv *);EXPORT_SYMBOL (ivtv_ext_init);/* add your revision and whatnot here */ -static struct pci_device_id ivtv_pci_tbl[]__devinitdata = { +static struct pci_device_id ivtv_pci_tbl[] = { {PCI_VENDOR_ID_ICOMP ,PCI_DEVICE_ID_IVTV15 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {PCI_VENDOR_ID_ICOMP ,PCI_DEVICE_ID_IVTV16 ,
drivers/media/pci/ngene/ngene-cards.c +1 -1
@@ -741,7 +741,7 @@ static struct ngene_info ngene_info_terratec = {/****************************************************************************/ -static const struct pci_device_id ngene_id_tbl[]__devinitdata = { +static const struct pci_device_id ngene_id_tbl[] = {NGENE_ID (0x18c3 ,0xabc3 , ngene_info_cineS2),NGENE_ID (0x18c3 ,0xabc4 , ngene_info_cineS2),NGENE_ID (0x18c3 ,0xdb01 , ngene_info_satixS2),
drivers/media/pci/pluto2/pluto2.c +2 -2
@@ -505,7 +505,7 @@ static int pluto2_request_firmware(struct dvb_frontend *fe,return request_firmware (fw, name, &pluto->pdev->dev); } -static struct tda1004x_config pluto2_fe_config__devinitdata = { +static struct tda1004x_config pluto2_fe_config = { .demod_address =I2C_ADDR_TDA10046 >>1 , .invert =1 , .invert_oclk =0 ,
@@ -777,7 +777,7 @@ static void __devexit pluto2_remove(struct pci_dev *pdev)#define PCI_DEVICE_ID_PLUTO2 0x0001#endif -static struct pci_device_id pluto2_id_table[]__devinitdata = { +static struct pci_device_id pluto2_id_table[] = { { .vendor =PCI_VENDOR_ID_SCM , .device =PCI_DEVICE_ID_PLUTO2 ,
drivers/media/pci/saa7134/saa7134.h +1 -1
@@ -739,7 +739,7 @@ extern int (*saa7134_dmasound_exit)(struct saa7134_dev *dev);extern struct saa7134_board saa7134_boards[];extern const unsigned int saa7134_bcount; -extern struct pci_device_id __devinitdata saa7134_pci_tbl[]; +extern struct pci_device_id saa7134_pci_tbl[];extern int saa7134_board_init1 (struct saa7134_dev *dev);extern int saa7134_board_init2 (struct saa7134_dev *dev);
drivers/media/pci/zoran/zoran_card.c +1 -1
@@ -369,7 +369,7 @@ static const unsigned short bt819_addrs[] = { 0x45, I2C_CLIENT_END };static const unsigned short bt856_addrs[] = {0x44 ,I2C_CLIENT_END };static const unsigned short bt866_addrs[] = {0x44 ,I2C_CLIENT_END }; -static struct card_info zoran_cards[NUM_CARDS ]__devinitdata = { +static struct card_info zoran_cards[NUM_CARDS ] = { { .type = DC10_old, .name ="DC10(old)" ,
drivers/media/pci/zoran/zoran_driver.c +1 -1
@@ -3080,7 +3080,7 @@ static const struct v4l2_file_operations zoran_fops = { .poll = zoran_poll, }; -struct video_device zoran_template__devinitdata = { +struct video_device zoran_template = { .name =ZORAN_NAME , .fops = &zoran_fops, .ioctl_ops = &zoran_ioctl_ops,
drivers/media/radio/radio-sf16fmi.c +1 -1
@@ -265,7 +265,7 @@ static const struct v4l2_ioctl_ops fmi_ioctl_ops = { };/* ladis: this is my card. does any other types exist? */ -static struct isapnp_device_id id_table[]__devinitdata = { +static struct isapnp_device_id id_table[] = {/* SF16-FMI */ {ISAPNP_ANY_ID ,ISAPNP_ANY_ID ,ISAPNP_VENDOR ('M' ,'F' ,'R' ),ISAPNP_FUNCTION (0xad10 ),0 },
drivers/media/radio/radio-sf16fmr2.c +1 -1
@@ -197,7 +197,7 @@ static int fmr2_tea_ext_init(struct snd_tea575x *tea)return 0 ; } -static struct pnp_device_id fmr2_pnp_ids[]__devinitdata = { +static struct pnp_device_id fmr2_pnp_ids[] = { { .id ="MFRad13" },/* tuner subdevice of SF16-FMD2 */ { .id ="" } };
Signature · 1 line
1.8.0
PATCH 333/493 net: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- drivers/net/can/cc770/cc770_isa.c | 12 ++++++------ drivers/net/can/cc770/cc770_platform.c | 2 +- drivers/net/can/mscan/mpc5xxx_can.c | 4 ++-- drivers/net/can/sja1000/plx_pci.c | 16 ++++++++-------- drivers/net/can/sja1000/sja1000_isa.c | 10 +++++----- drivers/net/can/sja1000/sja1000_of_platform.c | 2 +- drivers/net/fddi/defxx.c | 2 +- drivers/net/hippi/rrunner.c | 2 +- drivers/net/wan/farsync.c | 2 +- drivers/net/wireless/mwl8k.c | 2 +- drivers/net/wireless/rtlwifi/rtl8192de/sw.c | 2 +- drivers/net/wireless/rtlwifi/rtl8192se/sw.c | 2 +- drivers/net/wireless/rtlwifi/rtl8723ae/sw.c | 2 +- 13 files changed, 30 insertions(+), 30 deletions(-)
drivers/net/can/cc770/cc770_isa.c +6 -6
@@ -75,12 +75,12 @@ MODULE_LICENSE("GPL v2");static unsigned long port[MAXDEV ];static unsigned long mem[MAXDEV ]; -static int __devinitdata irq[MAXDEV ]; -static int __devinitdata clk[MAXDEV ]; -static u8 __devinitdata cir[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; -static u8 __devinitdata cor[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; -static u8 __devinitdata bcr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; -static int __devinitdata indirect[MAXDEV ] = {[0 ... (MAXDEV -1 )] =-1 }; +static int irq[MAXDEV ]; +static int clk[MAXDEV ]; +static u8 cir[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; +static u8 cor[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; +static u8 bcr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; +static int indirect[MAXDEV ] = {[0 ... (MAXDEV -1 )] =-1 };module_param_array (port, ulong,NULL ,S_IRUGO );MODULE_PARM_DESC (port,"I/O port number" );
drivers/net/can/cc770/cc770_platform.c +1 -1
@@ -253,7 +253,7 @@ static int __devexit cc770_platform_remove(struct platform_device *pdev)return 0 ; } -static struct of_device_id __devinitdata cc770_platform_table[] = { +static struct of_device_id cc770_platform_table[] = { {.compatible ="bosch,cc770" },/* CC770 from Bosch */ {.compatible ="intc,82527" },/* AN82527 from Intel CP */ {},
drivers/net/can/mscan/mpc5xxx_can.c +2 -2
@@ -43,7 +43,7 @@ struct mpc5xxx_can_data { };#ifdef CONFIG_PPC_MPC52xx -static struct of_device_id __devinitdata mpc52xx_cdm_ids[] = { +static struct of_device_id mpc52xx_cdm_ids[] = { { .compatible ="fsl,mpc5200-cdm" , }, {} };
@@ -124,7 +124,7 @@ struct mpc512x_clockctl {u32 mccr[4 ];/* MSCAN Clk Ctrl Reg 1-3 */ }; -static struct of_device_id __devinitdata mpc512x_clock_ids[] = { +static struct of_device_id mpc512x_clock_ids[] = { { .compatible ="fsl,mpc5121-clock" , }, {} };
drivers/net/can/sja1000/plx_pci.c +8 -8
@@ -158,7 +158,7 @@ struct plx_pci_card_info {void (*reset_func)(struct pci_dev *pdev); }; -static struct plx_pci_card_info plx_pci_card_info_adlink__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_adlink = {"Adlink PCI-7841/cPCI-7841" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {1 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x80 ,0x80 } },
@@ -166,7 +166,7 @@ static struct plx_pci_card_info plx_pci_card_info_adlink __devinitdata = {/* based on PLX9052 */ }; -static struct plx_pci_card_info plx_pci_card_info_adlink_se__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_adlink_se = {"Adlink PCI-7841/cPCI-7841 SE" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x80 ,0x80 } },
@@ -174,7 +174,7 @@ static struct plx_pci_card_info plx_pci_card_info_adlink_se __devinitdata = {/* based on PLX9052 */ }; -static struct plx_pci_card_info plx_pci_card_info_esd200__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_esd200 = {"esd CAN-PCI/CPCI/PCI104/200" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x100 ,0x80 } },
@@ -182,7 +182,7 @@ static struct plx_pci_card_info plx_pci_card_info_esd200 __devinitdata = {/* based on PLX9030/9050 */ }; -static struct plx_pci_card_info plx_pci_card_info_esd266__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_esd266 = {"esd CAN-PCI/PMC/266" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x100 ,0x80 } },
@@ -190,7 +190,7 @@ static struct plx_pci_card_info plx_pci_card_info_esd266 __devinitdata = {/* based on PLX9056 */ }; -static struct plx_pci_card_info plx_pci_card_info_esd2000__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_esd2000 = {"esd CAN-PCIe/2000" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x100 ,0x80 } },
@@ -198,7 +198,7 @@ static struct plx_pci_card_info plx_pci_card_info_esd2000 __devinitdata = {/* based on PEX8311 */ }; -static struct plx_pci_card_info plx_pci_card_info_ixxat__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_ixxat = {"IXXAT PC-I 04/PCI" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x200 ,0x80 } },
@@ -206,7 +206,7 @@ static struct plx_pci_card_info plx_pci_card_info_ixxat __devinitdata = {/* based on PLX9050 */ }; -static struct plx_pci_card_info plx_pci_card_info_marathon__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_marathon = {"Marathon CAN-bus-PCI" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x00 }, {4 ,0x00 ,0x00 } },
@@ -214,7 +214,7 @@ static struct plx_pci_card_info plx_pci_card_info_marathon __devinitdata = {/* based on PLX9052 */ }; -static struct plx_pci_card_info plx_pci_card_info_tews__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_tews = {"TEWS TECHNOLOGIES TPMC810" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x000 ,0x80 }, {2 ,0x100 ,0x80 } },
drivers/net/can/sja1000/sja1000_isa.c +5 -5
@@ -42,11 +42,11 @@ MODULE_LICENSE("GPL v2");static unsigned long port[MAXDEV ];static unsigned long mem[MAXDEV ]; -static int __devinitdata irq[MAXDEV ]; -static int __devinitdata clk[MAXDEV ]; -static unsigned char __devinitdata cdr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; -static unsigned char __devinitdata ocr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; -static int __devinitdata indirect[MAXDEV ] = {[0 ... (MAXDEV -1 )] =-1 }; +static int irq[MAXDEV ]; +static int clk[MAXDEV ]; +static unsigned char cdr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; +static unsigned char ocr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; +static int indirect[MAXDEV ] = {[0 ... (MAXDEV -1 )] =-1 };module_param_array (port, ulong,NULL ,S_IRUGO );MODULE_PARM_DESC (port,"I/O port number" );
drivers/net/can/sja1000/sja1000_of_platform.c +1 -1
@@ -204,7 +204,7 @@ exit_release_mem:return err; } -static struct of_device_id __devinitdata sja1000_ofp_table[] = { +static struct of_device_id sja1000_ofp_table[] = { {.compatible ="nxp,sja1000" }, {}, };
drivers/net/fddi/defxx.c +1 -1
@@ -228,7 +228,7 @@#define DRV_VERSION "v1.10"#define DRV_RELDATE "2006/12/14" -static char version[]__devinitdata = +static char version[] =DRV_NAME ": " DRV_VERSION " " DRV_RELDATE " Lawrence V. Stefani and others\n" ;
drivers/net/hippi/rrunner.c +1 -1
@@ -61,7 +61,7 @@ MODULE_AUTHOR("Jes Sorensen <[email protected]>");MODULE_DESCRIPTION ("Essential RoadRunner HIPPI driver" );MODULE_LICENSE ("GPL" ); -static char version[]__devinitdata ="rrunner.c: v0.50 11/11/2002 Jes Sorensen ([email protected])\n" ; +static char version[] ="rrunner.c: v0.50 11/11/2002 Jes Sorensen ([email protected])\n" ;static const struct net_device_ops rr_netdev_ops = {
drivers/net/wan/farsync.c +1 -1
@@ -2361,7 +2361,7 @@ fst_start_xmit(struct sk_buff *skb, struct net_device *dev)* via a printk and leave the corresponding interface and all that follow * disabled. */ -static char *type_strings[]__devinitdata = { +static char *type_strings[] = {"no hardware" ,/* Should never be seen */ "FarSync T2P" ,"FarSync T4P" ,
drivers/net/wireless/mwl8k.c +1 -1
@@ -5257,7 +5257,7 @@ enum {#define _MWL8K_8366_AP_FW (api) "mwl8k/fmimage_8366_ap-" #api ".fw"#define MWL8K_8366_AP_FW (api) _MWL8K_8366_AP_FW(api) -static struct mwl8k_device_info mwl8k_info_tbl[]__devinitdata = { +static struct mwl8k_device_info mwl8k_info_tbl[] = { [MWL8363 ] = { .part_name ="88w8363" , .helper_image ="mwl8k/helper_8363.fw" ,
drivers/net/wireless/rtlwifi/rtl8192de/sw.c +1 -1
@@ -352,7 +352,7 @@ static struct rtl_hal_cfg rtl92de_hal_cfg = { .maps[RTL_RC_HT_RATEMCS15] = DESC92_RATEMCS15, }; -static struct pci_device_id rtl92de_pci_ids[]__devinitdata = { +static struct pci_device_id rtl92de_pci_ids[] = { {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x8193 , rtl92de_hal_cfg)}, {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x002B , rtl92de_hal_cfg)}, {},
drivers/net/wireless/rtlwifi/rtl8192se/sw.c +1 -1
@@ -403,7 +403,7 @@ static struct rtl_hal_cfg rtl92se_hal_cfg = { .maps[RTL_RC_HT_RATEMCS15] = DESC92_RATEMCS15, }; -static struct pci_device_id rtl92se_pci_ids[]__devinitdata = { +static struct pci_device_id rtl92se_pci_ids[] = { {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x8192 , rtl92se_hal_cfg)}, {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x8171 , rtl92se_hal_cfg)}, {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x8172 , rtl92se_hal_cfg)},
drivers/net/wireless/rtlwifi/rtl8723ae/sw.c +1 -1
@@ -341,7 +341,7 @@ static struct rtl_hal_cfg rtl8723ae_hal_cfg = { .maps[RTL_RC_HT_RATEMCS15] = DESC92_RATEMCS15, }; -static struct pci_device_id rtl8723ae_pci_ids[]__devinitdata = { +static struct pci_device_id rtl8723ae_pci_ids[] = { {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x8723 , rtl8723ae_hal_cfg)}, {}, };
Signature · 1 line
1.8.0
Re: [PATCH 333/493] net: remove use of __devinitdata
Quoted 15 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitdatais no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Wolfgang Grandegger <[email protected]>Cc Marc Kleine-Budde <[email protected]>Cc "Maciej W. Rozycki" <[email protected]>Cc Jes Sorensen <[email protected]>Cc "John W. Linville" <[email protected]>Cc Larry Finger <[email protected]>Cc Chaoming Li <[email protected]>
You've missed (mainlined via net-next/master):
Quoted 1 line
./sja1000/plx_pci.c:229:static struct
plx_pci_card_infoplx_pci_card_info_cti__devinitdata= {
Otherwise...
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Re: [PATCH 333/493] net: remove use of __devinitdata
In reply to Bill PembertonQuoted 15 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitdatais no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Wolfgang Grandegger <[email protected]>Cc Marc Kleine-Budde <[email protected]>Cc "Maciej W. Rozycki" <[email protected]>Cc Jes Sorensen <[email protected]>Cc "John W. Linville" <[email protected]>Cc Larry Finger <[email protected]>Cc Chaoming Li <[email protected]>
Quoted 15 lines
--- drivers/net/can/cc770/cc770_isa.c | 12 ++++++------ drivers/net/can/cc770/cc770_platform.c | 2 +- drivers/net/can/mscan/mpc5xxx_can.c | 4 ++-- drivers/net/can/sja1000/plx_pci.c | 16 ++++++++-------- drivers/net/can/sja1000/sja1000_isa.c | 10 +++++----- drivers/net/can/sja1000/sja1000_of_platform.c | 2 +- drivers/net/fddi/defxx.c | 2 +- drivers/net/hippi/rrunner.c | 2 +- drivers/net/wan/farsync.c | 2 +- drivers/net/wireless/mwl8k.c | 2 +- drivers/net/wireless/rtlwifi/rtl8192de/sw.c | 2 +- drivers/net/wireless/rtlwifi/rtl8192se/sw.c | 2 +- drivers/net/wireless/rtlwifi/rtl8723ae/sw.c | 2 +- 13 files changed, 30 insertions(+), 30 deletions(-)
Quoted 261 lines
drivers/net/can/cc770/cc770_isa.c +6
-6@@ -75,12 +75,12 @@ MODULE_LICENSE("GPL v2");static unsigned long port[MAXDEV ];static unsigned long mem[MAXDEV ]; -static int __devinitdata irq[MAXDEV ]; -static int __devinitdata clk[MAXDEV ]; -static u8 __devinitdata cir[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; -static u8 __devinitdata cor[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; -static u8 __devinitdata bcr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; -static int __devinitdata indirect[MAXDEV ] = {[0 ... (MAXDEV -1 )] =-1 }; +static int irq[MAXDEV ]; +static int clk[MAXDEV ]; +static u8 cir[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; +static u8 cor[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; +static u8 bcr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; +static int indirect[MAXDEV ] = {[0 ... (MAXDEV -1 )] =-1 };module_param_array (port, ulong,NULL ,S_IRUGO );MODULE_PARM_DESC (port,"I/O port number" );drivers/net/can/cc770/cc770_platform.c +1
-1@@ -253,7 +253,7 @@ static int __devexit cc770_platform_remove(struct platform_device *pdev)return 0 ; } -static struct of_device_id __devinitdata cc770_platform_table[] = { +static struct of_device_id cc770_platform_table[] = { {.compatible ="bosch,cc770" },/* CC770 from Bosch */ {.compatible ="intc,82527" },/* AN82527 from Intel CP */ {},drivers/net/can/mscan/mpc5xxx_can.c +2
-2@@ -43,7 +43,7 @@ struct mpc5xxx_can_data { };#ifdef CONFIG_PPC_MPC52xx -static struct of_device_id __devinitdata mpc52xx_cdm_ids[] = { +static struct of_device_id mpc52xx_cdm_ids[] = { { .compatible ="fsl,mpc5200-cdm" , }, {} };@@ -124,7 +124,7 @@ struct mpc512x_clockctl {u32 mccr[4 ];/* MSCAN Clk Ctrl Reg 1-3 */ }; -static struct of_device_id __devinitdata mpc512x_clock_ids[] = { +static struct of_device_id mpc512x_clock_ids[] = { { .compatible ="fsl,mpc5121-clock" , }, {} };drivers/net/can/sja1000/plx_pci.c +8
-8@@ -158,7 +158,7 @@ struct plx_pci_card_info {void (*reset_func)(struct pci_dev *pdev); }; -static struct plx_pci_card_info plx_pci_card_info_adlink__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_adlink = {"Adlink PCI-7841/cPCI-7841" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {1 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x80 ,0x80 } },@@ -166,7 +166,7 @@ static struct plx_pci_card_info plx_pci_card_info_adlink __devinitdata = {/* based on PLX9052 */ }; -static struct plx_pci_card_info plx_pci_card_info_adlink_se__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_adlink_se = {"Adlink PCI-7841/cPCI-7841 SE" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x80 ,0x80 } },@@ -174,7 +174,7 @@ static struct plx_pci_card_info plx_pci_card_info_adlink_se __devinitdata = {/* based on PLX9052 */ }; -static struct plx_pci_card_info plx_pci_card_info_esd200__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_esd200 = {"esd CAN-PCI/CPCI/PCI104/200" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x100 ,0x80 } },@@ -182,7 +182,7 @@ static struct plx_pci_card_info plx_pci_card_info_esd200 __devinitdata = {/* based on PLX9030/9050 */ }; -static struct plx_pci_card_info plx_pci_card_info_esd266__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_esd266 = {"esd CAN-PCI/PMC/266" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x100 ,0x80 } },@@ -190,7 +190,7 @@ static struct plx_pci_card_info plx_pci_card_info_esd266 __devinitdata = {/* based on PLX9056 */ }; -static struct plx_pci_card_info plx_pci_card_info_esd2000__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_esd2000 = {"esd CAN-PCIe/2000" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x100 ,0x80 } },@@ -198,7 +198,7 @@ static struct plx_pci_card_info plx_pci_card_info_esd2000 __devinitdata = {/* based on PEX8311 */ }; -static struct plx_pci_card_info plx_pci_card_info_ixxat__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_ixxat = {"IXXAT PC-I 04/PCI" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x80 }, {2 ,0x200 ,0x80 } },@@ -206,7 +206,7 @@ static struct plx_pci_card_info plx_pci_card_info_ixxat __devinitdata = {/* based on PLX9050 */ }; -static struct plx_pci_card_info plx_pci_card_info_marathon__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_marathon = {"Marathon CAN-bus-PCI" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x00 ,0x00 }, {4 ,0x00 ,0x00 } },@@ -214,7 +214,7 @@ static struct plx_pci_card_info plx_pci_card_info_marathon __devinitdata = {/* based on PLX9052 */ }; -static struct plx_pci_card_info plx_pci_card_info_tews__devinitdata = { +static struct plx_pci_card_info plx_pci_card_info_tews = {"TEWS TECHNOLOGIES TPMC810" ,2 ,PLX_PCI_CAN_CLOCK ,PLX_PCI_OCR ,PLX_PCI_CDR , {0 ,0x00 ,0x00 }, { {2 ,0x000 ,0x80 }, {2 ,0x100 ,0x80 } },drivers/net/can/sja1000/sja1000_isa.c +5
-5@@ -42,11 +42,11 @@ MODULE_LICENSE("GPL v2");static unsigned long port[MAXDEV ];static unsigned long mem[MAXDEV ]; -static int __devinitdata irq[MAXDEV ]; -static int __devinitdata clk[MAXDEV ]; -static unsigned char __devinitdata cdr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; -static unsigned char __devinitdata ocr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; -static int __devinitdata indirect[MAXDEV ] = {[0 ... (MAXDEV -1 )] =-1 }; +static int irq[MAXDEV ]; +static int clk[MAXDEV ]; +static unsigned char cdr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; +static unsigned char ocr[MAXDEV ] = {[0 ... (MAXDEV -1 )] =0xff }; +static int indirect[MAXDEV ] = {[0 ... (MAXDEV -1 )] =-1 };module_param_array (port, ulong,NULL ,S_IRUGO );MODULE_PARM_DESC (port,"I/O port number" );drivers/net/can/sja1000/sja1000_of_platform.c +1
-1@@ -204,7 +204,7 @@ exit_release_mem:return err; } -static struct of_device_id __devinitdata sja1000_ofp_table[] = { +static struct of_device_id sja1000_ofp_table[] = { {.compatible ="nxp,sja1000" }, {}, };drivers/net/fddi/defxx.c +1
-1@@ -228,7 +228,7 @@#define DRV_VERSION "v1.10"#define DRV_RELDATE "2006/12/14" -static char version[]__devinitdata = +static char version[] =DRV_NAME ": " DRV_VERSION " " DRV_RELDATE " Lawrence V. Stefani and others\n" ;drivers/net/hippi/rrunner.c +1
-1@@ -61,7 +61,7 @@ MODULE_AUTHOR("Jes Sorensen <[email protected]>");MODULE_DESCRIPTION ("Essential RoadRunner HIPPI driver" );MODULE_LICENSE ("GPL" ); -static char version[]__devinitdata ="rrunner.c: v0.50 11/11/2002 Jes Sorensen ([email protected])\n" ; +static char version[] ="rrunner.c: v0.50 11/11/2002 Jes Sorensen ([email protected])\n" ;static const struct net_device_ops rr_netdev_ops = {drivers/net/wan/farsync.c +1
-1@@ -2361,7 +2361,7 @@ fst_start_xmit(struct sk_buff *skb, struct net_device *dev)* via a printk and leave the corresponding interface and all that follow * disabled. */ -static char *type_strings[]__devinitdata = { +static char *type_strings[] = {"no hardware" ,/* Should never be seen */ "FarSync T2P" ,"FarSync T4P" ,drivers/net/wireless/mwl8k.c +1
-1@@ -5257,7 +5257,7 @@ enum {#define _MWL8K_8366_AP_FW (api) "mwl8k/fmimage_8366_ap-" #api ".fw"#define MWL8K_8366_AP_FW (api) _MWL8K_8366_AP_FW(api) -static struct mwl8k_device_info mwl8k_info_tbl[]__devinitdata = { +static struct mwl8k_device_info mwl8k_info_tbl[] = { [MWL8363 ] = { .part_name ="88w8363" , .helper_image ="mwl8k/helper_8363.fw" ,drivers/net/wireless/rtlwifi/rtl8192de/sw.c +1
-1@@ -352,7 +352,7 @@ static struct rtl_hal_cfg rtl92de_hal_cfg = { .maps[RTL_RC_HT_RATEMCS15] = DESC92_RATEMCS15, }; -static struct pci_device_id rtl92de_pci_ids[]__devinitdata = { +static struct pci_device_id rtl92de_pci_ids[] = { {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x8193 , rtl92de_hal_cfg)}, {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x002B , rtl92de_hal_cfg)}, {},drivers/net/wireless/rtlwifi/rtl8192se/sw.c +1
-1@@ -403,7 +403,7 @@ static struct rtl_hal_cfg rtl92se_hal_cfg = { .maps[RTL_RC_HT_RATEMCS15] = DESC92_RATEMCS15, }; -static struct pci_device_id rtl92se_pci_ids[]__devinitdata = { +static struct pci_device_id rtl92se_pci_ids[] = { {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x8192 , rtl92se_hal_cfg)}, {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x8171 , rtl92se_hal_cfg)}, {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x8172 , rtl92se_hal_cfg)},drivers/net/wireless/rtlwifi/rtl8723ae/sw.c +1
-1@@ -341,7 +341,7 @@ static struct rtl_hal_cfg rtl8723ae_hal_cfg = { .maps[RTL_RC_HT_RATEMCS15] = DESC92_RATEMCS15, }; -static struct pci_device_id rtl8723ae_pci_ids[]__devinitdata = { +static struct pci_device_id rtl8723ae_pci_ids[] = { {RTL_PCI_DEVICE (PCI_VENDOR_ID_REALTEK ,0x8723 , rtl8723ae_hal_cfg)}, {}, };
PATCH 339/493 alpha: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- arch/alpha/kernel/smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/alpha/kernel/smp.c +1 -1
@@ -68,7 +68,7 @@ enum ipi_message_type { };/* Set to a secondary's cpuid when it comes online. */ -static int smp_secondary_alive__devinitdata =0 ; +static int smp_secondary_alive =0 ;int smp_num_probed;/* Internal processor count */ int smp_num_cpus =1 ;/* Number that came online. */
Signature · 1 line
1.8.0
PATCH 340/493 arm: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- arch/arm/kernel/perf_event_cpu.c | 4 +- arch/arm/mach-s3c64xx/mach-crag6410-module.c | 2 +- arch/arm/mach-s3c64xx/mach-crag6410.c | 68 ++++++++++++++-------------- arch/arm/mach-sa1100/neponset.c | 2 +- arch/arm/mach-tegra/tegra2_emc.c | 2 +- 5 files changed, 39 insertions(+), 39 deletions(-)
arch/arm/kernel/perf_event_cpu.c +2 -2
@@ -178,7 +178,7 @@ static struct notifier_block __cpuinitdata cpu_pmu_hotplug_notifier = {/* * PMU platform driver and devicetree bindings. */ -static struct of_device_id __devinitdata cpu_pmu_of_device_ids[] = { +static struct of_device_id cpu_pmu_of_device_ids[] = { {.compatible ="arm,cortex-a15-pmu" , .data = armv7_a15_pmu_init}, {.compatible ="arm,cortex-a9-pmu" , .data = armv7_a9_pmu_init}, {.compatible ="arm,cortex-a8-pmu" , .data = armv7_a8_pmu_init},
@@ -190,7 +190,7 @@ static struct of_device_id __devinitdata cpu_pmu_of_device_ids[] = { {}, }; -static struct platform_device_id __devinitdata cpu_pmu_plat_device_ids[] = { +static struct platform_device_id cpu_pmu_plat_device_ids[] = { {.name ="arm-pmu" }, {}, };
arch/arm/mach-s3c64xx/mach-crag6410-module.c +1 -1
@@ -290,7 +290,7 @@ static const struct i2c_board_info wm2200_i2c[] = { .platform_data = &wm2200_pdata, }, }; -static __devinitdata const struct { +static const struct { u8 id; u8 rev; const char *name;
arch/arm/mach-s3c64xx/mach-crag6410.c +34 -34
253 lines not on this page · raw message
arch/arm/mach-sa1100/neponset.c +1 -1
@@ -154,7 +154,7 @@ static u_int neponset_get_mctrl(struct uart_port *port)return ret; } -static struct sa1100_port_fns neponset_port_fns__devinitdata = { +static struct sa1100_port_fns neponset_port_fns = { .set_mctrl = neponset_set_mctrl, .get_mctrl = neponset_get_mctrl, };
arch/arm/mach-tegra/tegra2_emc.c +1 -1
@@ -333,7 +333,7 @@ static int tegra_emc_probe(struct platform_device *pdev)return 0 ; } -static struct of_device_id tegra_emc_of_match[]__devinitdata = { +static struct of_device_id tegra_emc_of_match[] = { { .compatible ="nvidia,tegra20-emc" , }, { }, };
Signature · 1 line
1.8.0
PATCH 340/493 arm: remove use of __devinitdata
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitdatais no longer needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121120/93cf4ceb/attachment-0001.sig>
PATCH 340/493 arm: remove use of __devinitdata
In reply to Bill PembertonQuoted 14 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitdatais no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Will Deacon <[email protected]>Cc Russell King <[email protected]>Cc Ben Dooks <[email protected]>Cc Kukjin Kim <[email protected]>Cc linux-arm-kernel at lists.infradead.orgCc patches at opensource.wolfsonmicro.comCc linux-samsung-soc at vger.kernel.orgCc linux-tegra at vger.kernel.org---
[...]
Quoted 2 lines
arch/arm/mach-s3c64xx/mach-crag6410-module.c | 2 +- arch/arm/mach-s3c64xx/mach-crag6410.c | 68
++++++++++++++-----------
Quoted 1 line
---
For above s3c64xx,
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
PATCH 340/493 arm: remove use of __devinitdata
In reply to Bill PembertonQuoted 1 line · Bill Pemberton
arch/arm/mach-sa1100/neponset.c | 2 +-
For this alone,
PATCH 342/493 mips: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- arch/mips/pci/fixup-malta.c | 4 ++-- arch/mips/pci/fixup-rc32434.c | 2 +- arch/mips/pci/ops-tx4927.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
arch/mips/pci/fixup-malta.c +2 -2
@@ -8,7 +8,7 @@#define PCID 4/* This table is filled in by interrogating the PIIX4 chip */ -static char pci_irq[5 ]__devinitdata = { +static char pci_irq[5 ] = { };static char irq_tab[][5 ]__initdata = {
@@ -53,7 +53,7 @@ int pcibios_plat_dev_init(struct pci_dev *dev)static void malta_piix_func0_fixup (struct pci_dev *pdev) {unsigned char reg_val; -static int piixirqmap[16 ]__devinitdata = {/* PIIX PIRQC[A:D] irq mappings */ +static int piixirqmap[16 ] = {/* PIIX PIRQC[A:D] irq mappings */ 0 ,0 ,0 ,3 ,4 ,5 ,6 ,7 ,0 ,9 ,10 ,11 ,
arch/mips/pci/fixup-rc32434.c +1 -1
@@ -32,7 +32,7 @@#include <asm/mach-rc32434/rc32434.h> #include <asm/mach-rc32434/irq.h> -static int __devinitdata irq_map[2 ][12 ] = { +static int irq_map[2 ][12 ] = { {0 ,0 ,2 ,3 ,2 ,3 ,0 ,0 ,0 ,0 ,0 ,1 }, {0 ,0 ,1 ,3 ,0 ,2 ,1 ,3 ,0 ,2 ,1 ,3 } };
arch/mips/pci/ops-tx4927.c +1 -1
@@ -191,7 +191,7 @@ static struct {u8 trdyto;u8 retryto;u16 gbwc; -} tx4927_pci_opts __devinitdata = { +} tx4927_pci_opts = { .trdyto = 0, .retryto = 0, .gbwc = 0xfe0, /* 4064 GBUSCLK for CCFG.GTOT=0b11 */
Signature · 1 line
1.8.0
PATCH 343/493 parisc: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- arch/parisc/kernel/hardware.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/parisc/kernel/hardware.c +2 -2
@@ -38,7 +38,7 @@* so don't reference this table after starting the init process */ -static struct hp_hardware hp_hardware_list[]__devinitdata = { +static struct hp_hardware hp_hardware_list[] = { {HPHW_NPROC ,0x01 ,0x4 ,0x0 ,"Indigo (840, 930)" }, {HPHW_NPROC ,0x8 ,0x4 ,0x01 ,"Firefox(825,925)" }, {HPHW_NPROC ,0xA ,0x4 ,0x01 ,"Top Gun (835,834,935,635)" },
@@ -1230,7 +1230,7 @@ static struct hp_cpu_type_mask {unsigned short model;unsigned short mask;enum cpu_type cpu; -} hp_cpu_type_mask_list[] __devinitdata = { +} hp_cpu_type_mask_list[] = { { 0x0000, 0x0ff0, pcx }, /* 0x0000 - 0x000f */ { 0x0048, 0x0ff0, pcxl }, /* 0x0040 - 0x004f */
Signature · 1 line
1.8.0
PATCH 344/493 powerpc: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 2 +- arch/powerpc/sysdev/bestcomm/bestcomm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c +1 -1
@@ -216,7 +216,7 @@ static const struct i2c_device_id mcu_ids[] = { };MODULE_DEVICE_TABLE (i2c, mcu_ids); -static struct of_device_id mcu_of_match_table[]__devinitdata = { +static struct of_device_id mcu_of_match_table[] = { { .compatible ="fsl,mcu-mpc8349emitx" , }, { }, };
arch/powerpc/sysdev/bestcomm/bestcomm.c +1 -1
@@ -30,7 +30,7 @@#define DRIVER_NAME "bestcomm-core"/* MPC5200 device tree match tables */ -static struct of_device_id mpc52xx_sram_ids[]__devinitdata = { +static struct of_device_id mpc52xx_sram_ids[] = { { .compatible ="fsl,mpc5200-sram" , }, { .compatible ="mpc5200-sram" , }, {}
Signature · 1 line
1.8.0
PATCH 347/493 sound: remove use of __devinitdata
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.
--- sound/arm/aaci.c | 2 +- sound/atmel/ac97c.c | 2 +- sound/drivers/aloop.c | 2 +- sound/drivers/mts64.c | 14 ++++----- sound/drivers/pcsp/pcsp_mixer.c | 4 +-- sound/isa/ad1816a/ad1816a.c | 2 +- sound/isa/ad1816a/ad1816a_lib.c | 2 +- sound/isa/als100.c | 2 +- sound/isa/azt2320.c | 2 +- sound/isa/cmi8330.c | 6 ++-- sound/isa/opti9xx/miro.c | 16 +++++----- sound/mips/hal2.c | 4 +-- sound/mips/sgio2audio.c | 14 ++++----- sound/oss/ad1848.c | 2 +- sound/pci/ak4531_codec.c | 2 +- sound/pci/ali5451/ali5451.c | 2 +- sound/pci/atiixp.c | 6 ++-- sound/pci/au88x0/au88x0_a3d.c | 2 +- sound/pci/au88x0/au88x0_eq.c | 8 ++--- sound/pci/au88x0/au88x0_pcm.c | 4 +-- sound/pci/aw2/aw2-alsa.c | 2 +- sound/pci/azt3328.c | 4 +-- sound/pci/bt87x.c | 4 +-- sound/pci/ca0106/ca0106_mixer.c | 15 +++++---- sound/pci/cmipci.c | 20 ++++++------ sound/pci/cs46xx/cs46xx_lib.c | 4 +-- sound/pci/cs5535audio/cs5535audio.c | 2 +- sound/pci/cs5535audio/cs5535audio_olpc.c | 2 +- sound/pci/ctxfi/ctatc.c | 6 ++-- sound/pci/ctxfi/cthw20k1.c | 2 +- sound/pci/ctxfi/cthw20k2.c | 2 +- sound/pci/echoaudio/echoaudio.c | 30 +++++++++--------- sound/pci/emu10k1/emu10k1x.c | 2 +- sound/pci/emu10k1/emumixer.c | 18 +++++------ sound/pci/emu10k1/p16v.c | 2 +- sound/pci/ens1370.c | 14 ++++----- sound/pci/es1968.c | 4 +-- sound/pci/fm801.c | 4 +-- sound/pci/hda/hda_intel.c | 8 ++--- sound/pci/ice1712/amp.c | 2 +- sound/pci/ice1712/aureon.c | 20 ++++++------ sound/pci/ice1712/delta.c | 38 +++++++++++------------ sound/pci/ice1712/ews.c | 24 +++++++-------- sound/pci/ice1712/hoontech.c | 6 ++-- sound/pci/ice1712/ice1712.c | 42 +++++++++++++------------- sound/pci/ice1712/ice1724.c | 30 +++++++++--------- sound/pci/ice1712/juli.c | 13 ++++---- sound/pci/ice1712/maya44.c | 8 ++--- sound/pci/ice1712/phase.c | 14 ++++----- sound/pci/ice1712/pontis.c | 6 ++-- sound/pci/ice1712/prodigy192.c | 8 ++--- sound/pci/ice1712/prodigy_hifi.c | 12 ++++---- sound/pci/ice1712/psc724.c | 4 +-- sound/pci/ice1712/quartet.c | 13 ++++---- sound/pci/ice1712/revo.c | 22 +++++++------- sound/pci/ice1712/se.c | 8 ++--- sound/pci/ice1712/vt1720_mobo.c | 6 ++-- sound/pci/ice1712/wtm.c | 6 ++-- sound/pci/intel8x0.c | 16 +++++----- sound/pci/intel8x0m.c | 4 +-- sound/pci/lola/lola_mixer.c | 8 ++--- sound/pci/lx6464es/lx6464es.c | 2 +- sound/pci/maestro3.c | 8 ++--- sound/pci/nm256/nm256.c | 2 +- sound/pci/sonicvibes.c | 6 ++-- sound/pci/trident/trident_main.c | 22 +++++++------- sound/pci/via82xx.c | 12 ++++---- sound/pci/ymfpci/ymfpci_main.c | 16 +++++----- sound/ppc/awacs.c | 52 ++++++++++++++++---------------- sound/ppc/burgundy.c | 20 ++++++------ sound/ppc/pmac.c | 2 +- sound/ppc/tumbler.c | 12 ++++---- sound/sh/aica.c | 4 +-- sound/soc/au1x/db1200.c | 2 +- sound/soc/fsl/mpc5200_psc_ac97.c | 2 +- sound/soc/fsl/mpc5200_psc_i2s.c | 2 +- sound/soc/tegra/tegra30_ahub.c | 2 +- sound/sparc/amd7930.c | 2 +- sound/sparc/cs4231.c | 2 +- sound/sparc/dbri.c | 2 +- sound/spi/at73c213.c | 2 +- sound/usb/6fire/control.c | 6 ++-- sound/usb/caiaq/control.c | 2 +- 83 files changed, 366 insertions(+), 369 deletions(-)
sound/arm/aaci.c +1 -1
@@ -786,7 +786,7 @@ static int aaci_resume(struct amba_device *dev)#endif -static struct ac97_pcm ac97_defs[]__devinitdata = { +static struct ac97_pcm ac97_defs[] = { [0 ] = {/* Front PCM */ .exclusive =1 , .r = {
sound/atmel/ac97c.c +1 -1
@@ -728,7 +728,7 @@ static irqreturn_t atmel_ac97c_interrupt(int irq, void *dev)return retval; } -static struct ac97_pcm at91_ac97_pcm_defs[]__devinitdata = { +static struct ac97_pcm at91_ac97_pcm_defs[] = {/* Playback */ { .exclusive =1 ,
sound/drivers/aloop.c +1 -1
@@ -949,7 +949,7 @@ static int loopback_channels_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new loopback_controls[]__devinitdata = { +static struct snd_kcontrol_new loopback_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .name ="PCM Rate Shift 100000" ,
sound/drivers/mts64.c +7 -7
@@ -483,7 +483,7 @@ __out:return changed; } -static struct snd_kcontrol_new mts64_ctl_smpte_switch__devinitdata = { +static struct snd_kcontrol_new mts64_ctl_smpte_switch = { .iface =SNDRV_CTL_ELEM_IFACE_RAWMIDI , .name ="SMPTE Playback Switch" , .index =0 ,
@@ -556,7 +556,7 @@ static int snd_mts64_ctl_smpte_time_put(struct snd_kcontrol *kctl,return changed; } -static struct snd_kcontrol_new mts64_ctl_smpte_time_hours__devinitdata = { +static struct snd_kcontrol_new mts64_ctl_smpte_time_hours = { .iface =SNDRV_CTL_ELEM_IFACE_RAWMIDI , .name ="SMPTE Time Hours" , .index =0 ,
@@ -567,7 +567,7 @@ static struct snd_kcontrol_new mts64_ctl_smpte_time_hours __devinitdata = { .put = snd_mts64_ctl_smpte_time_put }; -static struct snd_kcontrol_new mts64_ctl_smpte_time_minutes__devinitdata = { +static struct snd_kcontrol_new mts64_ctl_smpte_time_minutes = { .iface =SNDRV_CTL_ELEM_IFACE_RAWMIDI , .name ="SMPTE Time Minutes" , .index =0 ,
@@ -578,7 +578,7 @@ static struct snd_kcontrol_new mts64_ctl_smpte_time_minutes __devinitdata = { .put = snd_mts64_ctl_smpte_time_put }; -static struct snd_kcontrol_new mts64_ctl_smpte_time_seconds__devinitdata = { +static struct snd_kcontrol_new mts64_ctl_smpte_time_seconds = { .iface =SNDRV_CTL_ELEM_IFACE_RAWMIDI , .name ="SMPTE Time Seconds" , .index =0 ,
@@ -589,7 +589,7 @@ static struct snd_kcontrol_new mts64_ctl_smpte_time_seconds __devinitdata = { .put = snd_mts64_ctl_smpte_time_put }; -static struct snd_kcontrol_new mts64_ctl_smpte_time_frames__devinitdata = { +static struct snd_kcontrol_new mts64_ctl_smpte_time_frames = { .iface =SNDRV_CTL_ELEM_IFACE_RAWMIDI , .name ="SMPTE Time Frames" , .index =0 ,
@@ -651,7 +651,7 @@ static int snd_mts64_ctl_smpte_fps_put(struct snd_kcontrol *kctl,return changed; } -static struct snd_kcontrol_new mts64_ctl_smpte_fps__devinitdata = { +static struct snd_kcontrol_new mts64_ctl_smpte_fps = { .iface =SNDRV_CTL_ELEM_IFACE_RAWMIDI , .name ="SMPTE Fps" , .index =0 ,
@@ -667,7 +667,7 @@ static int snd_mts64_ctl_create(struct snd_card *card, struct mts64 *mts) {int err, i; -static struct snd_kcontrol_new *control[]__devinitdata = { +static struct snd_kcontrol_new *control[] = { &mts64_ctl_smpte_switch, &mts64_ctl_smpte_time_hours, &mts64_ctl_smpte_time_minutes,
sound/drivers/pcsp/pcsp_mixer.c +2 -2
@@ -119,12 +119,12 @@ static int pcsp_pcspkr_put(struct snd_kcontrol *kcontrol, .put = pcsp_##ctl_type##_put, \ } -static struct snd_kcontrol_new __devinitdata snd_pcsp_controls_pcm[] = { +static struct snd_kcontrol_new snd_pcsp_controls_pcm[] = {PCSP_MIXER_CONTROL (enable,"Master Playback Switch" ),PCSP_MIXER_CONTROL (treble,"BaseFRQ Playback Volume" ), }; -static struct snd_kcontrol_new __devinitdata snd_pcsp_controls_spkr[] = { +static struct snd_kcontrol_new snd_pcsp_controls_spkr[] = {PCSP_MIXER_CONTROL (pcspkr,"Beep Playback Switch" ), };
sound/isa/ad1816a/ad1816a.c +1 -1
@@ -217,7 +217,7 @@ static int snd_card_ad1816a_probe(int dev, struct pnp_card_link *pcard,return 0 ; } -static unsigned int __devinitdata ad1816a_devices; +static unsigned int ad1816a_devices;static int snd_ad1816a_pnp_detect (struct pnp_card_link *card,const struct pnp_card_device_id *id)
sound/isa/ad1816a/ad1816a_lib.c +1 -1
@@ -923,7 +923,7 @@ static const DECLARE_TLV_DB_SCALE(db_scale_6bit, -9450, 150, 0); static const DECLARE_TLV_DB_SCALE(db_scale_5bit_12db_max, -3450, 150, 0); static const DECLARE_TLV_DB_SCALE(db_scale_rec_gain, 0, 150, 0); -static struct snd_kcontrol_new snd_ad1816a_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_ad1816a_controls[] = {AD1816A_DOUBLE ("Master Playback Switch" ,AD1816A_MASTER_ATT ,15 ,7 ,1 ,1 ),AD1816A_DOUBLE_TLV ("Master Playback Volume" ,AD1816A_MASTER_ATT ,8 ,0 ,31 ,1 , db_scale_5bit),
sound/isa/als100.c +1 -1
@@ -286,7 +286,7 @@ static int snd_card_als100_probe(int dev,return 0 ; } -static unsigned int __devinitdata als100_devices; +static unsigned int als100_devices;static int snd_als100_pnp_detect (struct pnp_card_link *card,const struct pnp_card_device_id *id)
sound/isa/azt2320.c +1 -1
@@ -264,7 +264,7 @@ static int snd_card_azt2320_probe(int dev,return 0 ; } -static unsigned int __devinitdata azt2320_devices; +static unsigned int azt2320_devices;static int snd_azt2320_pnp_detect (struct pnp_card_link *card,const struct pnp_card_device_id *id)
sound/isa/cmi8330.c +3 -3
@@ -193,7 +193,7 @@ MODULE_DEVICE_TABLE(pnp_card, snd_cmi8330_pnpids);#endif -static struct snd_kcontrol_new snd_cmi8330_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_cmi8330_controls[] = {WSS_DOUBLE ("Master Playback Volume" ,0 ,CMI8330_MASTVOL ,CMI8330_MASTVOL ,4 ,0 ,15 ,0 ), WSS_SINGLE("Loud Playback Switch", 0,
@@ -249,7 +249,7 @@ WSS_SINGLE(SNDRV_CTL_NAME_IEC958("Input ", PLAYBACK, SWITCH), 0, };#ifdef ENABLE_SB_MIXER -static struct sbmix_elem cmi8330_sb_mixers[]__devinitdata = { +static struct sbmix_elem cmi8330_sb_mixers[] = {SB_DOUBLE ("SB Master Playback Volume" ,SB_DSP4_MASTER_DEV , (SB_DSP4_MASTER_DEV +1 ),3 ,3 ,31 ),SB_DOUBLE ("Tone Control - Bass" ,SB_DSP4_BASS_DEV , (SB_DSP4_BASS_DEV +1 ),4 ,4 ,15 ), SB_DOUBLE("Tone Control - Treble", SB_DSP4_TREBLE_DEV, (SB_DSP4_TREBLE_DEV + 1), 4, 4, 15),
@@ -267,7 +267,7 @@ SB_DOUBLE("SB Playback Volume", SB_DSP4_OGAIN_DEV, (SB_DSP4_OGAIN_DEV + 1), 6, 6 SB_SINGLE("SB Mic Auto Gain", SB_DSP4_MIC_AGC, 0, 1), }; -static unsigned char cmi8330_sb_init_values[][2 ]__devinitdata = { +static unsigned char cmi8330_sb_init_values[][2 ] = { {SB_DSP4_MASTER_DEV +0 ,0 }, {SB_DSP4_MASTER_DEV +1 ,0 }, {SB_DSP4_PCM_DEV +0 ,0 },
sound/isa/opti9xx/miro.c +8 -8
@@ -587,7 +587,7 @@ static int snd_miro_put_double(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_miro_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_miro_controls[] = {MIRO_DOUBLE ("Master Playback Volume" ,0 ,ACI_GET_MASTER ,ACI_SET_MASTER ),MIRO_DOUBLE ("Mic Playback Volume" ,1 ,ACI_GET_MIC ,ACI_SET_MIC ),MIRO_DOUBLE ("Line Playback Volume" ,1 ,ACI_GET_LINE ,ACI_SET_LINE ),
@@ -599,7 +599,7 @@ MIRO_DOUBLE("Aux Playback Volume", 2, ACI_GET_LINE2, ACI_SET_LINE2),/* Equalizer with seven bands (only PCM20) from -12dB up to +12dB on each band */ -static struct snd_kcontrol_new snd_miro_eq_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_miro_eq_controls[] = {MIRO_DOUBLE ("Tone Control - 28 Hz" ,0 ,ACI_GET_EQ1 ,ACI_SET_EQ1 ),MIRO_DOUBLE ("Tone Control - 160 Hz" ,0 ,ACI_GET_EQ2 ,ACI_SET_EQ2 ),MIRO_DOUBLE ("Tone Control - 400 Hz" ,0 ,ACI_GET_EQ3 ,ACI_SET_EQ3 ),
@@ -609,15 +609,15 @@ MIRO_DOUBLE("Tone Control - 6.3 kHz", 0, ACI_GET_EQ6, ACI_SET_EQ6), MIRO_DOUBLE("Tone Control - 16 kHz", 0, ACI_GET_EQ7, ACI_SET_EQ7), }; -static struct snd_kcontrol_new snd_miro_radio_control[]__devinitdata = { +static struct snd_kcontrol_new snd_miro_radio_control[] = {MIRO_DOUBLE ("Radio Playback Volume" ,0 ,ACI_GET_LINE1 ,ACI_SET_LINE1 ), }; -static struct snd_kcontrol_new snd_miro_line_control[]__devinitdata = { +static struct snd_kcontrol_new snd_miro_line_control[] = {MIRO_DOUBLE ("Line Playback Volume" ,2 ,ACI_GET_LINE1 ,ACI_SET_LINE1 ), }; -static struct snd_kcontrol_new snd_miro_preamp_control[]__devinitdata = { +static struct snd_kcontrol_new snd_miro_preamp_control[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Mic Boost" ,
@@ -627,7 +627,7 @@ static struct snd_kcontrol_new snd_miro_preamp_control[] __devinitdata = { .put = snd_miro_put_preamp, }}; -static struct snd_kcontrol_new snd_miro_amp_control[]__devinitdata = { +static struct snd_kcontrol_new snd_miro_amp_control[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Line Boost" ,
@@ -637,7 +637,7 @@ static struct snd_kcontrol_new snd_miro_amp_control[] __devinitdata = { .put = snd_miro_put_amp, }}; -static struct snd_kcontrol_new snd_miro_capture_control[]__devinitdata = { +static struct snd_kcontrol_new snd_miro_capture_control[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Capture Switch" ,
@@ -647,7 +647,7 @@ static struct snd_kcontrol_new snd_miro_capture_control[] __devinitdata = { .put = snd_miro_put_capture, }}; -static unsigned char aci_init_values[][2 ]__devinitdata = { +static unsigned char aci_init_values[][2 ] = { {ACI_SET_MUTE ,0x00 }, {ACI_SET_POWERAMP ,0x00 }, {ACI_SET_PREAMP ,0x00 },
sound/mips/hal2.c +2 -2
@@ -260,7 +260,7 @@ static int hal2_gain_put(struct snd_kcontrol *kcontrol,return old != new; } -static struct snd_kcontrol_new hal2_ctrl_headphone__devinitdata = { +static struct snd_kcontrol_new hal2_ctrl_headphone = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Headphone Playback Volume" , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE ,
@@ -270,7 +270,7 @@ static struct snd_kcontrol_new hal2_ctrl_headphone __devinitdata = { .put = hal2_gain_put, }; -static struct snd_kcontrol_new hal2_ctrl_mic__devinitdata = { +static struct snd_kcontrol_new hal2_ctrl_mic = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Mic Capture Volume" , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE ,
sound/mips/sgio2audio.c +7 -7
@@ -237,7 +237,7 @@ static int sgio2audio_source_put(struct snd_kcontrol *kcontrol, }/* dac1/pcm0 mixer control */ -static struct snd_kcontrol_new sgio2audio_ctrl_pcm0__devinitdata = { +static struct snd_kcontrol_new sgio2audio_ctrl_pcm0 = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Playback Volume" , .index =0 ,
@@ -249,7 +249,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_pcm0 __devinitdata = { };/* dac2/pcm1 mixer control */ -static struct snd_kcontrol_new sgio2audio_ctrl_pcm1__devinitdata = { +static struct snd_kcontrol_new sgio2audio_ctrl_pcm1 = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Playback Volume" , .index =1 ,
@@ -261,7 +261,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_pcm1 __devinitdata = { };/* record level mixer control */ -static struct snd_kcontrol_new sgio2audio_ctrl_reclevel__devinitdata = { +static struct snd_kcontrol_new sgio2audio_ctrl_reclevel = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Capture Volume" , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE ,
@@ -272,7 +272,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_reclevel __devinitdata = { };/* record level source control */ -static struct snd_kcontrol_new sgio2audio_ctrl_recsource__devinitdata = { +static struct snd_kcontrol_new sgio2audio_ctrl_recsource = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Capture Source" , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE ,
@@ -282,7 +282,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_recsource __devinitdata = { };/* line mixer control */ -static struct snd_kcontrol_new sgio2audio_ctrl_line__devinitdata = { +static struct snd_kcontrol_new sgio2audio_ctrl_line = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Line Playback Volume" , .index =0 ,
@@ -294,7 +294,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_line __devinitdata = { };/* cd mixer control */ -static struct snd_kcontrol_new sgio2audio_ctrl_cd__devinitdata = { +static struct snd_kcontrol_new sgio2audio_ctrl_cd = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Line Playback Volume" , .index =1 ,
@@ -306,7 +306,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_cd __devinitdata = { };/* mic mixer control */ -static struct snd_kcontrol_new sgio2audio_ctrl_mic__devinitdata = { +static struct snd_kcontrol_new sgio2audio_ctrl_mic = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Mic Playback Volume" , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE ,
sound/oss/ad1848.c +1 -1
@@ -2864,7 +2864,7 @@ static struct { {NULL} }; -static struct isapnp_device_id id_table[]__devinitdata = { +static struct isapnp_device_id id_table[] = { {ISAPNP_VENDOR ('C' ,'M' ,'I' ),ISAPNP_DEVICE (0x0001 ),ISAPNP_VENDOR ('@' ,'@' ,'@' ),ISAPNP_FUNCTION (0x0001 ),0 }, {ISAPNP_ANY_ID ,ISAPNP_ANY_ID ,
sound/pci/ak4531_codec.c +1 -1
@@ -274,7 +274,7 @@ static const DECLARE_TLV_DB_SCALE(db_scale_master, -6200, 200, 0); static const DECLARE_TLV_DB_SCALE(db_scale_mono, -2800, 400, 0); static const DECLARE_TLV_DB_SCALE(db_scale_input, -5000, 200, 0); -static struct snd_kcontrol_new snd_ak4531_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_ak4531_controls[] = { AK4531_DOUBLE_TLV("Master Playback Switch", 0, AK4531_LMASTER, AK4531_RMASTER, 7, 7, 1, 1,
sound/pci/ali5451/ali5451.c +1 -1
@@ -1832,7 +1832,7 @@ static int snd_ali5451_spdif_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_ali5451_mixer_spdif[]__devinitdata = { +static struct snd_kcontrol_new snd_ali5451_mixer_spdif[] = {/* spdif aplayback switch */ /* FIXME: "IEC958 Playback Switch" may conflict with one on ac97_codec */ ALI5451_SPDIF (SNDRV_CTL_NAME_IEC958 ("Output " ,NONE ,SWITCH ),0 ,0 ),
sound/pci/atiixp.c +3 -3
@@ -296,7 +296,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_atiixp_ids) = {MODULE_DEVICE_TABLE (pci, snd_atiixp_ids); -static struct snd_pci_quirk atiixp_quirks[]__devinitdata = { +static struct snd_pci_quirk atiixp_quirks[] = {SND_PCI_QUIRK (0x105b ,0x0c81 ,"Foxconn RC4107MA-RS2" ,0 ),SND_PCI_QUIRK (0x15bd ,0x3100 ,"DFI RS482" ,0 ), { }/* terminator */
@@ -1183,7 +1183,7 @@ static struct snd_pcm_ops snd_atiixp_spdif_ops = { .pointer = snd_atiixp_pcm_pointer, }; -static struct ac97_pcm atiixp_pcm_defs[]__devinitdata = { +static struct ac97_pcm atiixp_pcm_defs[] = {/* front PCM */ { .exclusive =1 ,
@@ -1390,7 +1390,7 @@ static irqreturn_t snd_atiixp_interrupt(int irq, void *dev_id)* ac97 mixer section */ -static struct ac97_quirk ac97_quirks[]__devinitdata = { +static struct ac97_quirk ac97_quirks[] = { { .subvendor =0x103c , .subdevice =0x006b ,
sound/pci/au88x0/au88x0_a3d.c +1 -1
@@ -845,7 +845,7 @@ snd_vortex_a3d_filter_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new vortex_a3d_kcontrol__devinitdata = { +static struct snd_kcontrol_new vortex_a3d_kcontrol = { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .name ="Playback PCM advanced processing" , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE ,
sound/pci/au88x0/au88x0_eq.c +4 -4
@@ -757,7 +757,7 @@ snd_vortex_eqtoggle_put(struct snd_kcontrol *kcontrol,return 1 ;/* Allways changes */ } -static struct snd_kcontrol_new vortex_eqtoggle_kcontrol__devinitdata = { +static struct snd_kcontrol_new vortex_eqtoggle_kcontrol = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="EQ Enable" , .index =0 ,
@@ -815,7 +815,7 @@ snd_vortex_eq_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *uconreturn changed; } -static struct snd_kcontrol_new vortex_eq_kcontrol__devinitdata = { +static struct snd_kcontrol_new vortex_eq_kcontrol = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name =" ." , .index =0 ,
@@ -854,7 +854,7 @@ snd_vortex_peaks_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ureturn 0 ; } -static struct snd_kcontrol_new vortex_levels_kcontrol__devinitdata = { +static struct snd_kcontrol_new vortex_levels_kcontrol = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="EQ Peaks" , .access =SNDRV_CTL_ELEM_ACCESS_READ |SNDRV_CTL_ELEM_ACCESS_VOLATILE ,
@@ -863,7 +863,7 @@ static struct snd_kcontrol_new vortex_levels_kcontrol __devinitdata = { };/* EQ band gain labels. */ -static char *EqBandLabels[10 ]__devinitdata = { +static char *EqBandLabels[10 ] = {"EQ0 31Hz\0" ,"EQ1 63Hz\0" ,"EQ2 125Hz\0" ,
sound/pci/au88x0/au88x0_pcm.c +2 -2
@@ -516,7 +516,7 @@ static int snd_vortex_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_el }/* spdif controls */ -static struct snd_kcontrol_new snd_vortex_mixer_spdif[]__devinitdata = { +static struct snd_kcontrol_new snd_vortex_mixer_spdif[] = { { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .name =SNDRV_CTL_NAME_IEC958 ("" ,PLAYBACK ,DEFAULT ),
@@ -598,7 +598,7 @@ static int snd_vortex_pcm_vol_put(struct snd_kcontrol *kcontrol, static const DECLARE_TLV_DB_MINMAX(vortex_pcm_vol_db_scale, -9600, 2400); -static struct snd_kcontrol_new snd_vortex_pcm_vol__devinitdata = { +static struct snd_kcontrol_new snd_vortex_pcm_vol = { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .name ="PCM Playback Volume" , .access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
sound/pci/aw2/aw2-alsa.c +1 -1
@@ -202,7 +202,7 @@ static struct snd_pcm_ops snd_aw2_capture_ops = { .pointer = snd_aw2_pcm_pointer_capture, }; -static struct snd_kcontrol_new aw2_control__devinitdata = { +static struct snd_kcontrol_new aw2_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Capture Route" , .index =0 ,
sound/pci/azt3328.c +2 -2
@@ -1170,7 +1170,7 @@ snd_azf3328_put_mixer_enum(struct snd_kcontrol *kcontrol,return (nreg != oreg); } -static struct snd_kcontrol_new snd_azf3328_mixer_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_azf3328_mixer_controls[] = {AZF3328_MIXER_SWITCH ("Master Playback Switch" ,IDX_MIXER_PLAY_MASTER ,15 ,1 ),AZF3328_MIXER_VOL_STEREO ("Master Playback Volume" ,IDX_MIXER_PLAY_MASTER ,0x1f ,1 ),AZF3328_MIXER_SWITCH ("PCM Playback Switch" ,IDX_MIXER_WAVEOUT ,15 ,1 ),
@@ -1228,7 +1228,7 @@ static struct snd_kcontrol_new snd_azf3328_mixer_controls[] __devinitdata = {#endif }; -static u16 __devinitdata snd_azf3328_init_values[][2 ] = { +static u16 snd_azf3328_init_values[][2 ] = { {IDX_MIXER_PLAY_MASTER ,MIXER_MUTE_MASK |0x1f1f }, {IDX_MIXER_MODEMOUT ,MIXER_MUTE_MASK |0x1f1f }, {IDX_MIXER_BASSTREBLE ,0x0000 },
sound/pci/bt87x.c +2 -2
@@ -164,7 +164,7 @@ struct snd_bt87x_board { unsigned no_digital:1; /* No digital input */ }; -static __devinitdata struct snd_bt87x_board snd_bt87x_boards[] = { +static struct snd_bt87x_board snd_bt87x_boards[] = { [SND_BT87X_BOARD_UNKNOWN ] = { .dig_rate =32000 ,/* just a guess */ },
@@ -822,7 +822,7 @@ MODULE_DEVICE_TABLE(pci, snd_bt87x_ids);* (DVB cards use the audio function to transfer MPEG data) */ static struct {unsigned short subvendor, subdevice; -} blacklist[]__devinitdata = { +} blacklist[] = { {0x0071 ,0x0101 },/* Nebula Electronics DigiTV */ {0x11bd ,0x001c },/* Pinnacle PCTV Sat */ {0x11bd ,0x0026 },/* Pinnacle PCTV SAT CI */
sound/pci/ca0106/ca0106_mixer.c +7 -8
@@ -325,7 +325,7 @@ static int snd_ca0106_capture_mic_line_in_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_ca0106_capture_mic_line_in__devinitdata = +static struct snd_kcontrol_new snd_ca0106_capture_mic_line_in = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Shared Mic/Line in Capture Switch" ,
@@ -334,7 +334,7 @@ static struct snd_kcontrol_new snd_ca0106_capture_mic_line_in __devinitdata = .put = snd_ca0106_capture_mic_line_in_put }; -static struct snd_kcontrol_new snd_ca0106_capture_line_in_side_out__devinitdata = +static struct snd_kcontrol_new snd_ca0106_capture_line_in_side_out = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Shared Line in/Side out Capture Switch" ,
@@ -588,7 +588,7 @@ static int spi_mute_put(struct snd_kcontrol *kcontrol, .private_value = ((chid) << 8) | (reg) \ } -static struct snd_kcontrol_new snd_ca0106_volume_ctls[]__devinitdata = { +static struct snd_kcontrol_new snd_ca0106_volume_ctls[] = {CA_VOLUME ("Analog Front Playback Volume" ,CONTROL_FRONT_CHANNEL ,PLAYBACK_VOLUME2 ), CA_VOLUME("Analog Rear Playback Volume",
@@ -669,7 +669,7 @@ static struct snd_kcontrol_new snd_ca0106_volume_ctls[] __devinitdata = { .private_value = chid \ } -static struct snd_kcontrol_new snd_ca0106_volume_i2c_adc_ctls[]__devinitdata = { +static struct snd_kcontrol_new snd_ca0106_volume_i2c_adc_ctls[] = {I2C_VOLUME ("Phone Capture Volume" ,0 ),I2C_VOLUME ("Mic Capture Volume" ,1 ),I2C_VOLUME ("Line in Capture Volume" ,2 ),
@@ -773,10 +773,9 @@ static int rename_ctl(struct snd_card *card, const char *src, const char *dst) } \ }while (0 ) -static __devinitdata -DECLARE_TLV_DB_SCALE (snd_ca0106_master_db_scale,-6375 ,25 ,1 ); +static DECLARE_TLV_DB_SCALE(snd_ca0106_master_db_scale, -6375, 25, 1); -static char *slave_vols[]__devinitdata = { +static char *slave_vols[] = {"Analog Front Playback Volume" ,"Analog Rear Playback Volume" ,"Analog Center/LFE Playback Volume" ,
@@ -789,7 +788,7 @@ static char *slave_vols[] __devinitdata = {NULL }; -static char *slave_sws[]__devinitdata = { +static char *slave_sws[] = {"Analog Front Playback Switch" ,"Analog Rear Playback Switch" ,"Analog Center/LFE Playback Switch" ,
sound/pci/cmipci.c +10 -10
@@ -1045,7 +1045,7 @@ static int snd_cmipci_spdif_default_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_cmipci_spdif_default__devinitdata = +static struct snd_kcontrol_new snd_cmipci_spdif_default = { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .name =SNDRV_CTL_NAME_IEC958 ("" ,PLAYBACK ,DEFAULT ),
@@ -1072,7 +1072,7 @@ static int snd_cmipci_spdif_mask_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_cmipci_spdif_mask__devinitdata = +static struct snd_kcontrol_new snd_cmipci_spdif_mask = { .access =SNDRV_CTL_ELEM_ACCESS_READ , .iface =SNDRV_CTL_ELEM_IFACE_PCM ,
@@ -1119,7 +1119,7 @@ static int snd_cmipci_spdif_stream_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_cmipci_spdif_stream__devinitdata = +static struct snd_kcontrol_new snd_cmipci_spdif_stream = { .access =SNDRV_CTL_ELEM_ACCESS_READWRITE |SNDRV_CTL_ELEM_ACCESS_INACTIVE , .iface =SNDRV_CTL_ELEM_IFACE_PCM ,
@@ -2290,7 +2290,7 @@ static int snd_cmipci_put_native_mixer_sensitive(struct snd_kcontrol *kcontrol, } -static struct snd_kcontrol_new snd_cmipci_mixers[]__devinitdata = { +static struct snd_kcontrol_new snd_cmipci_mixers[] = {CMIPCI_SB_VOL_STEREO ("Master Playback Volume" ,SB_DSP4_MASTER_DEV ,3 ,31 ),CMIPCI_MIXER_SW_MONO ("3D Control - Switch" ,CM_REG_MIXER1 ,CM_X3DEN_SHIFT ,0 ),CMIPCI_SB_VOL_STEREO ("PCM Playback Volume" ,SB_DSP4_PCM_DEV ,3 ,31 ),
@@ -2601,7 +2601,7 @@ static int snd_cmipci_mic_in_mode_put(struct snd_kcontrol *kcontrol, }/* both for CM8338/8738 */ -static struct snd_kcontrol_new snd_cmipci_mixer_switches[]__devinitdata = { +static struct snd_kcontrol_new snd_cmipci_mixer_switches[] = {DEFINE_MIXER_SWITCH ("Four Channel Mode" , fourch), { .name ="Line-In Mode" ,
@@ -2613,11 +2613,11 @@ static struct snd_kcontrol_new snd_cmipci_mixer_switches[] __devinitdata = { };/* for non-multichannel chips */ -static struct snd_kcontrol_new snd_cmipci_nomulti_switch__devinitdata = +static struct snd_kcontrol_new snd_cmipci_nomulti_switch =DEFINE_MIXER_SWITCH ("Exchange DAC" , exchange_dac);/* only for CM8738 */ -static struct snd_kcontrol_new snd_cmipci_8738_mixer_switches[]__devinitdata = { +static struct snd_kcontrol_new snd_cmipci_8738_mixer_switches[] = { #if 0 /* controlled in pcm device */DEFINE_MIXER_SWITCH ("IEC958 In Record" , spdif_in), DEFINE_MIXER_SWITCH("IEC958 Out", spdif_out),
@@ -2639,14 +2639,14 @@ static struct snd_kcontrol_new snd_cmipci_8738_mixer_switches[] __devinitdata = };/* only for model 033/037 */ -static struct snd_kcontrol_new snd_cmipci_old_mixer_switches[]__devinitdata = { +static struct snd_kcontrol_new snd_cmipci_old_mixer_switches[] = {DEFINE_MIXER_SWITCH ("IEC958 Mix Analog" , spdif_dac_out),DEFINE_MIXER_SWITCH ("IEC958 In Phase Inverse" , spdi_phase),DEFINE_MIXER_SWITCH ("IEC958 In Select" , spdif_in_sel1), };/* only for model 039 or later */ -static struct snd_kcontrol_new snd_cmipci_extra_mixer_switches[]__devinitdata = { +static struct snd_kcontrol_new snd_cmipci_extra_mixer_switches[] = {DEFINE_MIXER_SWITCH ("IEC958 In Select" , spdif_in_sel2),DEFINE_MIXER_SWITCH ("IEC958 In Phase Inverse" , spdi_phase2), {
@@ -2659,7 +2659,7 @@ static struct snd_kcontrol_new snd_cmipci_extra_mixer_switches[] __devinitdata = };/* card control switches */ -static struct snd_kcontrol_new snd_cmipci_modem_switch__devinitdata = +static struct snd_kcontrol_new snd_cmipci_modem_switch =DEFINE_CARD_SWITCH ("Modem" , modem);
sound/pci/cs46xx/cs46xx_lib.c +2 -2
@@ -2092,7 +2092,7 @@ static int snd_cs46xx_spdif_stream_put(struct snd_kcontrol *kcontrol,#endif /* CONFIG_SND_CS46XX_NEW_DSP */ -static struct snd_kcontrol_new snd_cs46xx_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_cs46xx_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="DAC Volume" ,
@@ -3477,7 +3477,7 @@ struct cs_card_typevoid (*mixer_init)(struct snd_cs46xx *); }; -static struct cs_card_type __devinitdata cards[] = { +static struct cs_card_type cards[] = { { .vendor =0x1489 , .id =0x7001 ,
sound/pci/cs5535audio/cs5535audio.c +1 -1
@@ -43,7 +43,7 @@ static char *ac97_quirk;module_param (ac97_quirk, charp,0444 );MODULE_PARM_DESC (ac97_quirk,"AC'97 board specific workarounds." ); -static struct ac97_quirk ac97_quirks[]__devinitdata = { +static struct ac97_quirk ac97_quirks[] = { #if 0 /* Not yet confirmed if all 5536 boards are HP only */ { .subvendor =PCI_VENDOR_ID_AMD ,
sound/pci/cs5535audio/cs5535audio_olpc.c +1 -1
@@ -114,7 +114,7 @@ static int olpc_mic_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v)return 1 ; } -static struct snd_kcontrol_new olpc_cs5535audio_ctls[]__devinitdata = { +static struct snd_kcontrol_new olpc_cs5535audio_ctls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="DC Mode Enable" ,
sound/pci/ctxfi/ctatc.c +3 -3
@@ -38,7 +38,7 @@ | (0x10 << 16) \ | ((IEC958_AES3_CON_FS_48000) << 24)) -static struct snd_pci_quirk __devinitdata subsys_20k1_list[] = { +static struct snd_pci_quirk subsys_20k1_list[] = {SND_PCI_QUIRK (PCI_VENDOR_ID_CREATIVE ,0x0022 ,"SB055x" ,CTSB055X ),SND_PCI_QUIRK (PCI_VENDOR_ID_CREATIVE ,0x002f ,"SB055x" ,CTSB055X ),SND_PCI_QUIRK (PCI_VENDOR_ID_CREATIVE ,0x0029 ,"SB073x" ,CTSB073X ),
@@ -48,7 +48,7 @@ static struct snd_pci_quirk __devinitdata subsys_20k1_list[] = { { }/* terminator */ }; -static struct snd_pci_quirk __devinitdata subsys_20k2_list[] = { +static struct snd_pci_quirk subsys_20k2_list[] = {SND_PCI_QUIRK (PCI_VENDOR_ID_CREATIVE ,PCI_SUBDEVICE_ID_CREATIVE_SB0760 ,"SB0760" ,CTSB0760 ), SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, PCI_SUBDEVICE_ID_CREATIVE_SB1270,
@@ -1614,7 +1614,7 @@ static int atc_resume(struct ct_atc *atc) }#endif -static struct ct_atc atc_preset__devinitdata = { +static struct ct_atc atc_preset = { .map_audio_buffer = ct_map_audio_buffer, .unmap_audio_buffer = ct_unmap_audio_buffer, .pcm_playback_prepare = atc_pcm_playback_prepare,
sound/pci/ctxfi/cthw20k1.c +1 -1
@@ -2171,7 +2171,7 @@ static void hw_write_pci(struct hw *hw, u32 reg, u32 data) &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); } -static struct hw ct20k1_preset__devinitdata = { +static struct hw ct20k1_preset = { .irq =-1 , .card_init = hw_card_init,
sound/pci/ctxfi/cthw20k2.c +1 -1
@@ -2237,7 +2237,7 @@ static void hw_write_20kx(struct hw *hw, u32 reg, u32 data)writel (data, (void *)(hw->mem_base + reg)); } -static struct hw ct20k2_preset__devinitdata = { +static struct hw ct20k2_preset = { .irq =-1 , .card_init = hw_card_init,
sound/pci/echoaudio/echoaudio.c +15 -15
@@ -1050,7 +1050,7 @@ static int snd_echo_output_gain_put(struct snd_kcontrol *kcontrol, #ifdef ECHOCARD_HAS_LINE_OUT_GAIN /* On the Mia this one controls the line-out volume */ -static struct snd_kcontrol_new snd_echo_line_output_gain __devinitdata = { +static struct snd_kcontrol_new snd_echo_line_output_gain = { .name = "Line Playback Volume", .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
@@ -1061,7 +1061,7 @@ static struct snd_kcontrol_new snd_echo_line_output_gain __devinitdata = { .tlv = {.p = db_scale_output_gain}, };#else -static struct snd_kcontrol_new snd_echo_pcm_output_gain__devinitdata = { +static struct snd_kcontrol_new snd_echo_pcm_output_gain = { .name ="PCM Playback Volume" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access = SNDRV_CTL_ELEM_ACCESS_READWRITE | SNDRV_CTL_ELEM_ACCESS_TLV_READ,
@@ -1131,7 +1131,7 @@ static int snd_echo_input_gain_put(struct snd_kcontrol *kcontrol, static const DECLARE_TLV_DB_SCALE(db_scale_input_gain, -2500, 50, 0); -static struct snd_kcontrol_new snd_echo_line_input_gain__devinitdata = { +static struct snd_kcontrol_new snd_echo_line_input_gain = { .name ="Line Capture Volume" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE |SNDRV_CTL_ELEM_ACCESS_TLV_READ ,
@@ -1195,7 +1195,7 @@ static int snd_echo_output_nominal_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new snd_echo_output_nominal_level__devinitdata = { +static struct snd_kcontrol_new snd_echo_output_nominal_level = { .name ="Line Playback Switch (-10dBV)" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .info = snd_echo_output_nominal_info,
@@ -1261,7 +1261,7 @@ static int snd_echo_input_nominal_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new snd_echo_intput_nominal_level__devinitdata = { +static struct snd_kcontrol_new snd_echo_intput_nominal_level = { .name ="Line Capture Switch (-10dBV)" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .info = snd_echo_input_nominal_info,
@@ -1327,7 +1327,7 @@ static int snd_echo_mixer_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new snd_echo_monitor_mixer__devinitdata = { +static struct snd_kcontrol_new snd_echo_monitor_mixer = { .name ="Monitor Mixer Volume" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE |SNDRV_CTL_ELEM_ACCESS_TLV_READ ,
@@ -1395,7 +1395,7 @@ static int snd_echo_vmixer_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new snd_echo_vmixer__devinitdata = { +static struct snd_kcontrol_new snd_echo_vmixer = { .name ="VMixer Volume" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE |SNDRV_CTL_ELEM_ACCESS_TLV_READ ,
@@ -1490,7 +1490,7 @@ static int snd_echo_digital_mode_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new snd_echo_digital_mode_switch__devinitdata = { +static struct snd_kcontrol_new snd_echo_digital_mode_switch = { .name ="Digital mode Switch" , .iface =SNDRV_CTL_ELEM_IFACE_CARD , .info = snd_echo_digital_mode_info,
@@ -1547,7 +1547,7 @@ static int snd_echo_spdif_mode_put(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_echo_spdif_mode_switch__devinitdata = { +static struct snd_kcontrol_new snd_echo_spdif_mode_switch = { .name ="S/PDIF mode Switch" , .iface =SNDRV_CTL_ELEM_IFACE_CARD , .info = snd_echo_spdif_mode_info,
@@ -1626,7 +1626,7 @@ static int snd_echo_clock_source_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new snd_echo_clock_source_switch__devinitdata = { +static struct snd_kcontrol_new snd_echo_clock_source_switch = { .name ="Sample Clock Source" , .iface =SNDRV_CTL_ELEM_IFACE_PCM , .info = snd_echo_clock_source_info,
@@ -1669,7 +1669,7 @@ static int snd_echo_phantom_power_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new snd_echo_phantom_power_switch__devinitdata = { +static struct snd_kcontrol_new snd_echo_phantom_power_switch = { .name ="Phantom power Switch" , .iface =SNDRV_CTL_ELEM_IFACE_CARD , .info = snd_echo_phantom_power_info,
@@ -1712,7 +1712,7 @@ static int snd_echo_automute_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new snd_echo_automute_switch__devinitdata = { +static struct snd_kcontrol_new snd_echo_automute_switch = { .name ="Digital Capture Switch (automute)" , .iface =SNDRV_CTL_ELEM_IFACE_CARD , .info = snd_echo_automute_info,
@@ -1739,7 +1739,7 @@ static int snd_echo_vumeters_switch_put(struct snd_kcontrol *kcontrol,return 1 ; } -static struct snd_kcontrol_new snd_echo_vumeters_switch__devinitdata = { +static struct snd_kcontrol_new snd_echo_vumeters_switch = { .name ="VU-meters Switch" , .iface =SNDRV_CTL_ELEM_IFACE_CARD , .access =SNDRV_CTL_ELEM_ACCESS_WRITE ,
@@ -1780,7 +1780,7 @@ static int snd_echo_vumeters_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_echo_vumeters__devinitdata = { +static struct snd_kcontrol_new snd_echo_vumeters = { .name ="VU-meters" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access = SNDRV_CTL_ELEM_ACCESS_READ |
@@ -1836,7 +1836,7 @@ static int snd_echo_channels_info_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_echo_channels_info__devinitdata = { +static struct snd_kcontrol_new snd_echo_channels_info = { .name ="Channels info" , .iface =SNDRV_CTL_ELEM_IFACE_HWDEP , .access =SNDRV_CTL_ELEM_ACCESS_READ |SNDRV_CTL_ELEM_ACCESS_VOLATILE ,
sound/pci/emu10k1/emu10k1x.c +1 -1
@@ -1115,7 +1115,7 @@ static int snd_emu10k1x_shared_spdif_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_emu10k1x_shared_spdif__devinitdata = +static struct snd_kcontrol_new snd_emu10k1x_shared_spdif = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Analog/Digital Output Jack" ,
sound/pci/emu10k1/emumixer.c +9 -9
@@ -510,7 +510,7 @@ static int snd_emu1010_input_source_put(struct snd_kcontrol *kcontrol, .private_value = chid \ } -static struct snd_kcontrol_new snd_emu1010_output_enum_ctls[]__devinitdata = { +static struct snd_kcontrol_new snd_emu1010_output_enum_ctls[] = {EMU1010_SOURCE_OUTPUT ("Dock DAC1 Left Playback Enum" ,0 ),EMU1010_SOURCE_OUTPUT ("Dock DAC1 Right Playback Enum" ,1 ),EMU1010_SOURCE_OUTPUT ("Dock DAC2 Left Playback Enum" ,2 ),
@@ -539,7 +539,7 @@ static struct snd_kcontrol_new snd_emu1010_output_enum_ctls[] __devinitdata = {/* 1616(m) cardbus */ -static struct snd_kcontrol_new snd_emu1616_output_enum_ctls[]__devinitdata = { +static struct snd_kcontrol_new snd_emu1616_output_enum_ctls[] = {EMU1010_SOURCE_OUTPUT ("Dock DAC1 Left Playback Enum" ,0 ),EMU1010_SOURCE_OUTPUT ("Dock DAC1 Right Playback Enum" ,1 ),EMU1010_SOURCE_OUTPUT ("Dock DAC2 Left Playback Enum" ,2 ),
@@ -571,7 +571,7 @@ static struct snd_kcontrol_new snd_emu1616_output_enum_ctls[] __devinitdata = { .private_value = chid \ } -static struct snd_kcontrol_new snd_emu1010_input_enum_ctls[]__devinitdata = { +static struct snd_kcontrol_new snd_emu1010_input_enum_ctls[] = {EMU1010_SOURCE_INPUT ("DSP 0 Capture Enum" ,0 ),EMU1010_SOURCE_INPUT ("DSP 1 Capture Enum" ,1 ),EMU1010_SOURCE_INPUT ("DSP 2 Capture Enum" ,2 ),
@@ -639,7 +639,7 @@ static int snd_emu1010_adc_pads_put(struct snd_kcontrol *kcontrol, struct snd_ct .private_value = chid \ } -static struct snd_kcontrol_new snd_emu1010_adc_pads[]__devinitdata = { +static struct snd_kcontrol_new snd_emu1010_adc_pads[] = {EMU1010_ADC_PADS ("ADC1 14dB PAD Audio Dock Capture Switch" ,EMU_HANA_DOCK_ADC_PAD1 ),EMU1010_ADC_PADS ("ADC2 14dB PAD Audio Dock Capture Switch" ,EMU_HANA_DOCK_ADC_PAD2 ),EMU1010_ADC_PADS ("ADC3 14dB PAD Audio Dock Capture Switch" ,EMU_HANA_DOCK_ADC_PAD3 ),
@@ -687,7 +687,7 @@ static int snd_emu1010_dac_pads_put(struct snd_kcontrol *kcontrol, struct snd_ct .private_value = chid \ } -static struct snd_kcontrol_new snd_emu1010_dac_pads[]__devinitdata = { +static struct snd_kcontrol_new snd_emu1010_dac_pads[] = {EMU1010_DAC_PADS ("DAC1 Audio Dock 14dB PAD Playback Switch" ,EMU_HANA_DOCK_DAC_PAD1 ),EMU1010_DAC_PADS ("DAC2 Audio Dock 14dB PAD Playback Switch" ,EMU_HANA_DOCK_DAC_PAD2 ),EMU1010_DAC_PADS ("DAC3 Audio Dock 14dB PAD Playback Switch" ,EMU_HANA_DOCK_DAC_PAD3 ),
@@ -989,7 +989,7 @@ static int snd_audigy_i2c_volume_put(struct snd_kcontrol *kcontrol, } -static struct snd_kcontrol_new snd_audigy_i2c_volume_ctls[]__devinitdata = { +static struct snd_kcontrol_new snd_audigy_i2c_volume_ctls[] = {I2C_VOLUME ("Mic Capture Volume" ,0 ),I2C_VOLUME ("Line Capture Volume" ,0 ) };
@@ -1621,7 +1621,7 @@ static int snd_emu10k1_shared_spdif_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_emu10k1_shared_spdif__devinitdata = +static struct snd_kcontrol_new snd_emu10k1_shared_spdif = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="SB Live Analog/Digital Output Jack" ,
@@ -1630,7 +1630,7 @@ static struct snd_kcontrol_new snd_emu10k1_shared_spdif __devinitdata = .put = snd_emu10k1_shared_spdif_put }; -static struct snd_kcontrol_new snd_audigy_shared_spdif__devinitdata = +static struct snd_kcontrol_new snd_audigy_shared_spdif = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Audigy Analog/Digital Output Jack" ,
@@ -1668,7 +1668,7 @@ static int snd_audigy_capture_boost_put(struct snd_kcontrol *kcontrol,return snd_ac97_update (emu->ac97,AC97_REC_GAIN , val); } -static struct snd_kcontrol_new snd_audigy_capture_boost__devinitdata = +static struct snd_kcontrol_new snd_audigy_capture_boost = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Analog Capture Boost" ,
sound/pci/emu10k1/p16v.c +1 -1
@@ -854,7 +854,7 @@ static const DECLARE_TLV_DB_SCALE(snd_p16v_db_scale1, -5175, 25, 1); .private_value = ((xreg) | ((xhl) << 8)) \ } -static struct snd_kcontrol_new p16v_mixer_controls[]__devinitdata = { +static struct snd_kcontrol_new p16v_mixer_controls[] = {P16V_VOL ("HD Analog Front Playback Volume" ,PLAYBACK_VOLUME_MIXER9 ,0 ),P16V_VOL ("HD Analog Rear Playback Volume" ,PLAYBACK_VOLUME_MIXER10 ,1 ),P16V_VOL ("HD Analog Center/LFE Playback Volume" ,PLAYBACK_VOLUME_MIXER9 ,1 ),
sound/pci/ens1370.c +7 -7
@@ -1484,7 +1484,7 @@ static int snd_es1371_spdif_put(struct snd_kcontrol *kcontrol,/* spdif controls */ -static struct snd_kcontrol_new snd_es1371_mixer_spdif[]__devinitdata = { +static struct snd_kcontrol_new snd_es1371_mixer_spdif[] = {ES1371_SPDIF (SNDRV_CTL_NAME_IEC958 ("" ,PLAYBACK ,SWITCH )), { .iface =SNDRV_CTL_ELEM_IFACE_PCM ,
@@ -1546,7 +1546,7 @@ static int snd_es1373_rear_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_ens1373_rear__devinitdata = +static struct snd_kcontrol_new snd_ens1373_rear = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="AC97 2ch->4ch Copy Switch" ,
@@ -1591,7 +1591,7 @@ static int snd_es1373_line_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new snd_ens1373_line__devinitdata = +static struct snd_kcontrol_new snd_ens1373_line = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Line In->Rear Out Switch" ,
@@ -1625,7 +1625,7 @@ static int es1371_quirk_lookup(struct ensoniq *ensoniq,return 0 ; } -static struct es1371_quirk es1371_spdif_present[]__devinitdata = { +static struct es1371_quirk es1371_spdif_present[] = { { .vid =PCI_VENDOR_ID_ENSONIQ , .did =PCI_DEVICE_ID_ENSONIQ_CT5880 , .rev =CT5880REV_CT5880_C }, { .vid =PCI_VENDOR_ID_ENSONIQ , .did =PCI_DEVICE_ID_ENSONIQ_CT5880 , .rev =CT5880REV_CT5880_D }, { .vid =PCI_VENDOR_ID_ENSONIQ , .did =PCI_DEVICE_ID_ENSONIQ_CT5880 , .rev =CT5880REV_CT5880_E },
@@ -1634,7 +1634,7 @@ static struct es1371_quirk es1371_spdif_present[] __devinitdata = { { .vid = PCI_ANY_ID, .did = PCI_ANY_ID } }; -static struct snd_pci_quirk ens1373_line_quirk[]__devinitdata = { +static struct snd_pci_quirk ens1373_line_quirk[] = {SND_PCI_QUIRK_ID (0x1274 ,0x2000 ),/* GA-7DXR */ SND_PCI_QUIRK_ID (0x1458 ,0xa000 ),/* GA-8IEXP */ { }/* end */
@@ -1749,7 +1749,7 @@ static int snd_ensoniq_control_put(struct snd_kcontrol *kcontrol,* ENS1370 mixer */ -static struct snd_kcontrol_new snd_es1370_controls[2 ]__devinitdata = { +static struct snd_kcontrol_new snd_es1370_controls[2 ] = {ENSONIQ_CONTROL ("PCM 0 Output also on Line-In Jack" ,ES_1370_XCTL0 ),ENSONIQ_CONTROL ("Mic +5V bias" ,ES_1370_XCTL1 ) };
@@ -1960,7 +1960,7 @@ static int snd_ensoniq_dev_free(struct snd_device *device) }#ifdef CHIP1371 -static struct snd_pci_quirk es1371_amplifier_hack[]__devinitdata = { +static struct snd_pci_quirk es1371_amplifier_hack[] = {SND_PCI_QUIRK_ID (0x107b ,0x2150 ),/* Gateway Solo 2150 */ SND_PCI_QUIRK_ID (0x13bd ,0x100c ),/* EV1938 on Mebius PC-MJ100V */ SND_PCI_QUIRK_ID(0x1102, 0x5938), /* Targa Xtender300 */
sound/pci/es1968.c +2 -2
@@ -2650,7 +2650,7 @@ struct ess_device_list {unsigned short vendor;/* subsystem vendor id */ }; -static struct ess_device_list pm_whitelist[]__devinitdata = { +static struct ess_device_list pm_whitelist[] = { {TYPE_MAESTRO2E ,0x0e11 },/* Compaq Armada */ {TYPE_MAESTRO2E ,0x1028 }, {TYPE_MAESTRO2E ,0x103c },
@@ -2661,7 +2661,7 @@ static struct ess_device_list pm_whitelist[] __devinitdata = { { TYPE_MAESTRO2, 0x125d }, /* a PCI card, e.g. SF64-PCE2 */ }; -static struct ess_device_list mpu_blacklist[]__devinitdata = { +static struct ess_device_list mpu_blacklist[] = { {TYPE_MAESTRO2 ,0x125d }, };
sound/pci/fm801.c +2 -2
@@ -984,7 +984,7 @@ static const DECLARE_TLV_DB_SCALE(db_scale_dsp, -3450, 150, 0);#define FM801_CONTROLS ARRAY_SIZE(snd_fm801_controls) -static struct snd_kcontrol_new snd_fm801_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_fm801_controls[] = {FM801_DOUBLE_TLV ("Wave Playback Volume" ,FM801_PCM_VOL ,0 ,8 ,31 ,1 , db_scale_dsp),FM801_SINGLE ("Wave Playback Switch" ,FM801_PCM_VOL ,15 ,1 ,1 ),
@@ -1005,7 +1005,7 @@ FM801_SINGLE("FM Playback Switch", FM801_FM_VOL, 15, 1, 1),#define FM801_CONTROLS_MULTI ARRAY_SIZE(snd_fm801_controls_multi) -static struct snd_kcontrol_new snd_fm801_controls_multi[]__devinitdata = { +static struct snd_kcontrol_new snd_fm801_controls_multi[] = {FM801_SINGLE ("AC97 2ch->4ch Copy Switch" ,FM801_CODEC_CTRL ,7 ,1 ,0 ),FM801_SINGLE ("AC97 18-bit Switch" ,FM801_CODEC_CTRL ,10 ,1 ,0 ),FM801_SINGLE (SNDRV_CTL_NAME_IEC958 ("" ,CAPTURE ,SWITCH ),FM801_I2S_MODE ,8 ,1 ,0 ),
sound/pci/hda/hda_intel.c +4 -4
@@ -600,7 +600,7 @@ enum {#define DELAYED_INITDATA_MARK #else #define DELAYED_INIT_MARK -#define DELAYED_INITDATA_MARK __devinitdata +#define DELAYED_INITDATA_MARK #endif static char *driver_short_names[] DELAYED_INITDATA_MARK = {
@@ -2939,7 +2939,7 @@ static bool check_hdmi_disabled(struct pci_dev *pci)/* * white/black-listing for position_fix */ -static struct snd_pci_quirk position_fix_list[]__devinitdata = { +static struct snd_pci_quirk position_fix_list[] = {SND_PCI_QUIRK (0x1028 ,0x01cc ,"Dell D820" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01de ,"Dell Precision 390" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x103c ,0x306d ,"HP dv3" ,POS_FIX_LPIB ),
@@ -2994,7 +2994,7 @@ static int check_position_fix(struct azx *chip, int fix)/* * black-lists for probe_mask */ -static struct snd_pci_quirk probe_mask_list[]__devinitdata = { +static struct snd_pci_quirk probe_mask_list[] = {/* Thinkpad often breaks the controller communication when accessing * to the non-working (or non-existing) modem codec slot. */
@@ -3043,7 +3043,7 @@ static void check_probe_mask(struct azx *chip, int dev)/* * white/black-list for enable_msi */ -static struct snd_pci_quirk msi_black_list[]__devinitdata = { +static struct snd_pci_quirk msi_black_list[] = {SND_PCI_QUIRK (0x1043 ,0x81f2 ,"ASUS" ,0 ),/* Athlon64 X2 + nvidia */ SND_PCI_QUIRK (0x1043 ,0x81f6 ,"ASUS" ,0 ),/* nvidia */ SND_PCI_QUIRK (0x1043 ,0x822d ,"ASUS" ,0 ),/* Athlon64 X2 + nvidia MCP55 */
sound/pci/ice1712/amp.c +1 -1
@@ -77,7 +77,7 @@ static int snd_vt1724_amp_add_controls(struct snd_ice1712 *ice)/* entry point */ -struct snd_ice1712_card_info snd_vt1724_amp_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_amp_cards[] = { { .subvendor =VT1724_SUBDEVICE_AV710 , .name ="Chaintech AV-710" ,
sound/pci/ice1712/aureon.c +10 -10
@@ -1433,7 +1433,7 @@ static int aureon_oversampling_put(struct snd_kcontrol *kcontrol, struct snd_ctl* mixers */ -static struct snd_kcontrol_new aureon_dac_controls[]__devinitdata = { +static struct snd_kcontrol_new aureon_dac_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Master Playback Switch" ,
@@ -1548,7 +1548,7 @@ static struct snd_kcontrol_new aureon_dac_controls[] __devinitdata = { } }; -static struct snd_kcontrol_new wm_controls[]__devinitdata = { +static struct snd_kcontrol_new wm_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Playback Switch" ,
@@ -1614,7 +1614,7 @@ static struct snd_kcontrol_new wm_controls[] __devinitdata = { } }; -static struct snd_kcontrol_new ac97_controls[]__devinitdata = { +static struct snd_kcontrol_new ac97_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="AC97 Playback Switch" ,
@@ -1719,7 +1719,7 @@ static struct snd_kcontrol_new ac97_controls[] __devinitdata = { } }; -static struct snd_kcontrol_new universe_ac97_controls[]__devinitdata = { +static struct snd_kcontrol_new universe_ac97_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="AC97 Playback Switch" ,
@@ -1851,7 +1851,7 @@ static struct snd_kcontrol_new universe_ac97_controls[] __devinitdata = { }; -static struct snd_kcontrol_new cs8415_controls[]__devinitdata = { +static struct snd_kcontrol_new cs8415_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name =SNDRV_CTL_NAME_IEC958 ("" ,CAPTURE ,SWITCH ),
@@ -2174,7 +2174,7 @@ static int aureon_init(struct snd_ice1712 *ice)* hence the driver needs to sets up it properly. */ -static unsigned char aureon51_eeprom[]__devinitdata = { +static unsigned char aureon51_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x0a ,/* clock 512, spdif-in/ADC, 3DACs */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */ [ICE_EEP2_I2S ] =0xfc ,/* vol, 96k, 24bit, 192k */
@@ -2190,7 +2190,7 @@ static unsigned char aureon51_eeprom[] __devinitdata = { [ICE_EEP2_GPIO_STATE2] = 0x00, }; -static unsigned char aureon71_eeprom[]__devinitdata = { +static unsigned char aureon71_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x0b ,/* clock 512, spdif-in/ADC, 4DACs */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */ [ICE_EEP2_I2S ] =0xfc ,/* vol, 96k, 24bit, 192k */
@@ -2207,7 +2207,7 @@ static unsigned char aureon71_eeprom[] __devinitdata = { };#define prodigy71_eeprom aureon71_eeprom -static unsigned char aureon71_universe_eeprom[]__devinitdata = { +static unsigned char aureon71_universe_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x2b ,/* clock 512, mpu401, spdif-in/ADC, * 4DACs */
@@ -2225,7 +2225,7 @@ static unsigned char aureon71_universe_eeprom[] __devinitdata = { [ICE_EEP2_GPIO_STATE2] = 0x00, }; -static unsigned char prodigy71lt_eeprom[]__devinitdata = { +static unsigned char prodigy71lt_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x4b ,/* clock 384, spdif-in/ADC, 4DACs */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */ [ICE_EEP2_I2S ] =0xfc ,/* vol, 96k, 24bit, 192k */
@@ -2243,7 +2243,7 @@ static unsigned char prodigy71lt_eeprom[] __devinitdata = {#define prodigy71xt_eeprom prodigy71lt_eeprom/* entry point */ -struct snd_ice1712_card_info snd_vt1724_aureon_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_aureon_cards[] = { { .subvendor =VT1724_SUBDEVICE_AUREON51_SKY , .name ="Terratec Aureon 5.1-Sky" ,
sound/pci/ice1712/delta.c +19 -19
@@ -431,7 +431,7 @@ static int snd_ice1712_delta1010lt_wordclock_status_get(struct snd_kcontrol *kcoreturn 0 ; } -static struct snd_kcontrol_new snd_ice1712_delta1010lt_wordclock_status__devinitdata = +static struct snd_kcontrol_new snd_ice1712_delta1010lt_wordclock_status = { .access = (SNDRV_CTL_ELEM_ACCESS_READ ), .iface =SNDRV_CTL_ELEM_IFACE_MIXER ,
@@ -444,7 +444,7 @@ static struct snd_kcontrol_new snd_ice1712_delta1010lt_wordclock_status __devini* initialize the chips on M-Audio cards */ -static struct snd_akm4xxx akm_audiophile__devinitdata = { +static struct snd_akm4xxx akm_audiophile = { .type =SND_AK4528 , .num_adcs =2 , .num_dacs =2 ,
@@ -453,7 +453,7 @@ static struct snd_akm4xxx akm_audiophile __devinitdata = { } }; -static struct snd_ak4xxx_private akm_audiophile_priv__devinitdata = { +static struct snd_ak4xxx_private akm_audiophile_priv = { .caddr =2 , .cif =0 , .data_mask =ICE1712_DELTA_AP_DOUT ,
@@ -465,7 +465,7 @@ static struct snd_ak4xxx_private akm_audiophile_priv __devinitdata = { .mask_flags = 0, }; -static struct snd_akm4xxx akm_delta410__devinitdata = { +static struct snd_akm4xxx akm_delta410 = { .type =SND_AK4529 , .num_adcs =2 , .num_dacs =8 ,
@@ -474,7 +474,7 @@ static struct snd_akm4xxx akm_delta410 __devinitdata = { } }; -static struct snd_ak4xxx_private akm_delta410_priv__devinitdata = { +static struct snd_ak4xxx_private akm_delta410_priv = { .caddr =0 , .cif =0 , .data_mask =ICE1712_DELTA_AP_DOUT ,
@@ -486,7 +486,7 @@ static struct snd_ak4xxx_private akm_delta410_priv __devinitdata = { .mask_flags = 0, }; -static struct snd_akm4xxx akm_delta1010lt__devinitdata = { +static struct snd_akm4xxx akm_delta1010lt = { .type =SND_AK4524 , .num_adcs =8 , .num_dacs =8 ,
@@ -496,7 +496,7 @@ static struct snd_akm4xxx akm_delta1010lt __devinitdata = { } }; -static struct snd_ak4xxx_private akm_delta1010lt_priv__devinitdata = { +static struct snd_ak4xxx_private akm_delta1010lt_priv = { .caddr =2 , .cif =0 ,/* the default level of the CIF pin from AK4524 */ .data_mask =ICE1712_DELTA_1010LT_DOUT ,
@@ -508,7 +508,7 @@ static struct snd_ak4xxx_private akm_delta1010lt_priv __devinitdata = { .mask_flags = 0, }; -static struct snd_akm4xxx akm_delta66e__devinitdata = { +static struct snd_akm4xxx akm_delta66e = { .type =SND_AK4524 , .num_adcs =4 , .num_dacs =4 ,
@@ -518,7 +518,7 @@ static struct snd_akm4xxx akm_delta66e __devinitdata = { } }; -static struct snd_ak4xxx_private akm_delta66e_priv__devinitdata = { +static struct snd_ak4xxx_private akm_delta66e_priv = { .caddr =2 , .cif =0 ,/* the default level of the CIF pin from AK4524 */ .data_mask =ICE1712_DELTA_66E_DOUT ,
@@ -531,7 +531,7 @@ static struct snd_ak4xxx_private akm_delta66e_priv __devinitdata = { }; -static struct snd_akm4xxx akm_delta44__devinitdata = { +static struct snd_akm4xxx akm_delta44 = { .type =SND_AK4524 , .num_adcs =4 , .num_dacs =4 ,
@@ -541,7 +541,7 @@ static struct snd_akm4xxx akm_delta44 __devinitdata = { } }; -static struct snd_ak4xxx_private akm_delta44_priv__devinitdata = { +static struct snd_ak4xxx_private akm_delta44_priv = { .caddr =2 , .cif =0 ,/* the default level of the CIF pin from AK4524 */ .data_mask =ICE1712_DELTA_CODEC_SERIAL_DATA ,
@@ -553,7 +553,7 @@ static struct snd_ak4xxx_private akm_delta44_priv __devinitdata = { .mask_flags = 0, }; -static struct snd_akm4xxx akm_vx442__devinitdata = { +static struct snd_akm4xxx akm_vx442 = { .type =SND_AK4524 , .num_adcs =4 , .num_dacs =4 ,
@@ -563,7 +563,7 @@ static struct snd_akm4xxx akm_vx442 __devinitdata = { } }; -static struct snd_ak4xxx_private akm_vx442_priv__devinitdata = { +static struct snd_ak4xxx_private akm_vx442_priv = { .caddr =2 , .cif =0 , .data_mask =ICE1712_VX442_DOUT ,
@@ -713,15 +713,15 @@ static int snd_ice1712_delta_init(struct snd_ice1712 *ice)* additional controls for M-Audio cards */ -static struct snd_kcontrol_new snd_ice1712_delta1010_wordclock_select__devinitdata = +static struct snd_kcontrol_new snd_ice1712_delta1010_wordclock_select =ICE1712_GPIO (SNDRV_CTL_ELEM_IFACE_MIXER ,"Word Clock Sync" ,0 ,ICE1712_DELTA_WORD_CLOCK_SELECT ,1 ,0 ); -static struct snd_kcontrol_new snd_ice1712_delta1010lt_wordclock_select__devinitdata = +static struct snd_kcontrol_new snd_ice1712_delta1010lt_wordclock_select =ICE1712_GPIO (SNDRV_CTL_ELEM_IFACE_MIXER ,"Word Clock Sync" ,0 ,ICE1712_DELTA_1010LT_WORDCLOCK ,0 ,0 ); -static struct snd_kcontrol_new snd_ice1712_delta1010_wordclock_status__devinitdata = +static struct snd_kcontrol_new snd_ice1712_delta1010_wordclock_status =ICE1712_GPIO (SNDRV_CTL_ELEM_IFACE_MIXER ,"Word Clock Status" ,0 ,ICE1712_DELTA_WORD_CLOCK_STATUS ,1 ,SNDRV_CTL_ELEM_ACCESS_READ |SNDRV_CTL_ELEM_ACCESS_VOLATILE ); -static struct snd_kcontrol_new snd_ice1712_deltadio2496_spdif_in_select__devinitdata = +static struct snd_kcontrol_new snd_ice1712_deltadio2496_spdif_in_select =ICE1712_GPIO (SNDRV_CTL_ELEM_IFACE_MIXER ,"IEC958 Input Optical" ,0 ,ICE1712_DELTA_SPDIF_INPUT_SELECT ,0 ,0 ); -static struct snd_kcontrol_new snd_ice1712_delta_spdif_in_status__devinitdata = +static struct snd_kcontrol_new snd_ice1712_delta_spdif_in_status =ICE1712_GPIO (SNDRV_CTL_ELEM_IFACE_MIXER ,"Delta IEC958 Input Status" ,0 ,ICE1712_DELTA_SPDIF_IN_STAT ,1 ,SNDRV_CTL_ELEM_ACCESS_READ |SNDRV_CTL_ELEM_ACCESS_VOLATILE );
@@ -801,7 +801,7 @@ static int snd_ice1712_delta_add_controls(struct snd_ice1712 *ice)/* entry point */ -struct snd_ice1712_card_info snd_ice1712_delta_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_ice1712_delta_cards[] = { { .subvendor =ICE1712_SUBDEVICE_DELTA1010 , .name ="M Audio Delta 1010" ,
sound/pci/ice1712/ews.c +12 -12
@@ -343,7 +343,7 @@ static void ews88_setup_spdif(struct snd_ice1712 *ice, int rate)/* */ -static struct snd_akm4xxx akm_ews88mt__devinitdata = { +static struct snd_akm4xxx akm_ews88mt = { .num_adcs =8 , .num_dacs =8 , .type =SND_AK4524 ,
@@ -353,7 +353,7 @@ static struct snd_akm4xxx akm_ews88mt __devinitdata = { } }; -static struct snd_ak4xxx_private akm_ews88mt_priv__devinitdata = { +static struct snd_ak4xxx_private akm_ews88mt_priv = { .caddr =2 , .cif =1 ,/* CIF high */ .data_mask =ICE1712_EWS88_SERIAL_DATA ,
@@ -365,7 +365,7 @@ static struct snd_ak4xxx_private akm_ews88mt_priv __devinitdata = { .mask_flags = 0, }; -static struct snd_akm4xxx akm_ewx2496__devinitdata = { +static struct snd_akm4xxx akm_ewx2496 = { .num_adcs =2 , .num_dacs =2 , .type =SND_AK4524 ,
@@ -374,7 +374,7 @@ static struct snd_akm4xxx akm_ewx2496 __devinitdata = { } }; -static struct snd_ak4xxx_private akm_ewx2496_priv__devinitdata = { +static struct snd_ak4xxx_private akm_ewx2496_priv = { .caddr =2 , .cif =1 ,/* CIF high */ .data_mask =ICE1712_EWS88_SERIAL_DATA ,
@@ -386,7 +386,7 @@ static struct snd_ak4xxx_private akm_ewx2496_priv __devinitdata = { .mask_flags = 0, }; -static struct snd_akm4xxx akm_6fire__devinitdata = { +static struct snd_akm4xxx akm_6fire = { .num_adcs =6 , .num_dacs =6 , .type =SND_AK4524 ,
@@ -395,7 +395,7 @@ static struct snd_akm4xxx akm_6fire __devinitdata = { } }; -static struct snd_ak4xxx_private akm_6fire_priv__devinitdata = { +static struct snd_ak4xxx_private akm_6fire_priv = { .caddr =2 , .cif =1 ,/* CIF high */ .data_mask =ICE1712_6FIRE_SERIAL_DATA ,
@@ -615,7 +615,7 @@ static int snd_ice1712_ewx_io_sense_put(struct snd_kcontrol *kcontrol, struct snreturn val != nval; } -static struct snd_kcontrol_new snd_ice1712_ewx2496_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_ice1712_ewx2496_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Input Sensitivity Switch" ,
@@ -723,7 +723,7 @@ static int snd_ice1712_ews88mt_input_sense_put(struct snd_kcontrol *kcontrol, streturn ndata != data; } -static struct snd_kcontrol_new snd_ice1712_ews88mt_input_sense__devinitdata = { +static struct snd_kcontrol_new snd_ice1712_ews88mt_input_sense = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Input Sensitivity Switch" , .info = snd_ice1712_ewx_io_sense_info,
@@ -732,7 +732,7 @@ static struct snd_kcontrol_new snd_ice1712_ews88mt_input_sense __devinitdata = { .count = 8, }; -static struct snd_kcontrol_new snd_ice1712_ews88mt_output_sense__devinitdata = { +static struct snd_kcontrol_new snd_ice1712_ews88mt_output_sense = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Output Sensitivity Switch" , .info = snd_ice1712_ewx_io_sense_info,
@@ -810,7 +810,7 @@ static int snd_ice1712_ews88d_control_put(struct snd_kcontrol *kcontrol, struct .private_value = xshift | (xinvert << 8),\ } -static struct snd_kcontrol_new snd_ice1712_ews88d_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_ice1712_ews88d_controls[] = {EWS88D_CONTROL (SNDRV_CTL_ELEM_IFACE_MIXER ,"IEC958 Input Optical" ,0 ,1 ,0 ),/* inverted */ EWS88D_CONTROL (SNDRV_CTL_ELEM_IFACE_MIXER ,"ADAT Output Optical" ,1 ,0 ,0 ),EWS88D_CONTROL (SNDRV_CTL_ELEM_IFACE_MIXER ,"ADAT External Master Clock" ,2 ,0 ,0 ),
@@ -947,7 +947,7 @@ static int snd_ice1712_6fire_select_input_put(struct snd_kcontrol *kcontrol, str .private_value = xshift | (xinvert << 8),\ } -static struct snd_kcontrol_new snd_ice1712_6fire_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_ice1712_6fire_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Analog Input Select" ,
@@ -1029,7 +1029,7 @@ static int snd_ice1712_ews_add_controls(struct snd_ice1712 *ice)/* entry point */ -struct snd_ice1712_card_info snd_ice1712_ews_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_ice1712_ews_cards[] = { { .subvendor =ICE1712_SUBDEVICE_EWX2496 , .name ="TerraTec EWX24/96" ,
sound/pci/ice1712/hoontech.c +3 -3
@@ -269,7 +269,7 @@ static void stdsp24_ak4524_lock(struct snd_akm4xxx *ak, int chip)static int snd_ice1712_value_init (struct snd_ice1712 *ice) {/* Hoontech STDSP24 with modified hardware */ -static struct snd_akm4xxx akm_stdsp24_mv__devinitdata = { +static struct snd_akm4xxx akm_stdsp24_mv = { .num_adcs =2 , .num_dacs =2 , .type =SND_AK4524 ,
@@ -278,7 +278,7 @@ static int snd_ice1712_value_init(struct snd_ice1712 *ice) } }; -static struct snd_ak4xxx_private akm_stdsp24_mv_priv__devinitdata = { +static struct snd_ak4xxx_private akm_stdsp24_mv_priv = { .caddr =2 , .cif =1 ,/* CIF high */ .data_mask =ICE1712_STDSP24_SERIAL_DATA ,
@@ -328,7 +328,7 @@ static int snd_ice1712_ez8_init(struct snd_ice1712 *ice)/* entry point */ -struct snd_ice1712_card_info snd_ice1712_hoontech_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_ice1712_hoontech_cards[] = { { .subvendor =ICE1712_SUBDEVICE_STDSP24 , .name ="Hoontech SoundTrack Audio DSP24" ,
sound/pci/ice1712/ice1712.c +21 -21
168 lines not on this page · raw message
sound/pci/ice1712/ice1724.c +15 -15
@@ -1599,7 +1599,7 @@ static int snd_vt1724_eeprom_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_vt1724_eeprom__devinitdata = { +static struct snd_kcontrol_new snd_vt1724_eeprom = { .iface =SNDRV_CTL_ELEM_IFACE_CARD , .name ="ICE1724 EEPROM" , .access =SNDRV_CTL_ELEM_ACCESS_READ ,
@@ -1712,7 +1712,7 @@ static int snd_vt1724_spdif_default_put(struct snd_kcontrol *kcontrol,return val != old; } -static struct snd_kcontrol_new snd_vt1724_spdif_default__devinitdata = +static struct snd_kcontrol_new snd_vt1724_spdif_default = { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .name =SNDRV_CTL_NAME_IEC958 ("" ,PLAYBACK ,DEFAULT ),
@@ -1744,7 +1744,7 @@ static int snd_vt1724_spdif_maskp_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_vt1724_spdif_maskc__devinitdata = +static struct snd_kcontrol_new snd_vt1724_spdif_maskc = { .access =SNDRV_CTL_ELEM_ACCESS_READ , .iface =SNDRV_CTL_ELEM_IFACE_PCM ,
@@ -1753,7 +1753,7 @@ static struct snd_kcontrol_new snd_vt1724_spdif_maskc __devinitdata = .get = snd_vt1724_spdif_maskc_get, }; -static struct snd_kcontrol_new snd_vt1724_spdif_maskp__devinitdata = +static struct snd_kcontrol_new snd_vt1724_spdif_maskp = { .access =SNDRV_CTL_ELEM_ACCESS_READ , .iface =SNDRV_CTL_ELEM_IFACE_PCM ,
@@ -1790,7 +1790,7 @@ static int snd_vt1724_spdif_sw_put(struct snd_kcontrol *kcontrol,return old != val; } -static struct snd_kcontrol_new snd_vt1724_spdif_switch__devinitdata = +static struct snd_kcontrol_new snd_vt1724_spdif_switch = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER ,/* FIXME: the following conflict with IEC958 Playback Route */
@@ -1965,7 +1965,7 @@ static int snd_vt1724_pro_internal_clock_put(struct snd_kcontrol *kcontrol,return old_rate != new_rate; } -static struct snd_kcontrol_new snd_vt1724_pro_internal_clock__devinitdata = { +static struct snd_kcontrol_new snd_vt1724_pro_internal_clock = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Multi Track Internal Clock" , .info = snd_vt1724_pro_internal_clock_info,
@@ -1996,7 +1996,7 @@ static int snd_vt1724_pro_rate_locking_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_vt1724_pro_rate_locking__devinitdata = { +static struct snd_kcontrol_new snd_vt1724_pro_rate_locking = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Multi Track Rate Locking" , .info = snd_vt1724_pro_rate_locking_info,
@@ -2027,7 +2027,7 @@ static int snd_vt1724_pro_rate_reset_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_vt1724_pro_rate_reset__devinitdata = { +static struct snd_kcontrol_new snd_vt1724_pro_rate_reset = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Multi Track Rate Reset" , .info = snd_vt1724_pro_rate_reset_info,
@@ -2149,7 +2149,7 @@ static int snd_vt1724_pro_route_spdif_put(struct snd_kcontrol *kcontrol, digital_route_shift(idx)); } -static struct snd_kcontrol_new snd_vt1724_mixer_pro_analog_route__devinitdata = +static struct snd_kcontrol_new snd_vt1724_mixer_pro_analog_route = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="H/W Playback Route" ,
@@ -2158,7 +2158,7 @@ static struct snd_kcontrol_new snd_vt1724_mixer_pro_analog_route __devinitdata = .put = snd_vt1724_pro_route_analog_put, }; -static struct snd_kcontrol_new snd_vt1724_mixer_pro_spdif_route__devinitdata = { +static struct snd_kcontrol_new snd_vt1724_mixer_pro_spdif_route = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name = SNDRV_CTL_NAME_IEC958("", PLAYBACK, NONE) "Route", .info = snd_vt1724_pro_route_info,
@@ -2194,7 +2194,7 @@ static int snd_vt1724_pro_peak_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_vt1724_mixer_pro_peak__devinitdata = { +static struct snd_kcontrol_new snd_vt1724_mixer_pro_peak = { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .name ="Multi Track Peak" , .access =SNDRV_CTL_ELEM_ACCESS_READ |SNDRV_CTL_ELEM_ACCESS_VOLATILE ,
@@ -2206,13 +2206,13 @@ static struct snd_kcontrol_new snd_vt1724_mixer_pro_peak __devinitdata = {* */ -static struct snd_ice1712_card_info no_matched__devinitdata ; +static struct snd_ice1712_card_info no_matched;/* ooAoo cards with no controls */ -static unsigned char ooaoo_sq210_eeprom[]__devinitdata = { +static unsigned char ooaoo_sq210_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x4c ,/* 49MHz crystal, no mpu401, no ADC, 1xDACs */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */
@@ -2232,7 +2232,7 @@ static unsigned char ooaoo_sq210_eeprom[] __devinitdata = { }; -static struct snd_ice1712_card_info snd_vt1724_ooaoo_cards[]__devinitdata = { +static struct snd_ice1712_card_info snd_vt1724_ooaoo_cards[] = { { .name ="ooAoo SQ210a" , .model ="sq210a" ,
@@ -2242,7 +2242,7 @@ static struct snd_ice1712_card_info snd_vt1724_ooaoo_cards[] __devinitdata = { { }/* terminator */ }; -static struct snd_ice1712_card_info *card_tables[]__devinitdata = { +static struct snd_ice1712_card_info *card_tables[] = { snd_vt1724_revo_cards, snd_vt1724_amp_cards, snd_vt1724_aureon_cards,
sound/pci/ice1712/juli.c +6 -7
@@ -282,7 +282,7 @@ static const struct snd_akm4xxx_dac_channel juli_dac[] = { }; -static struct snd_akm4xxx akm_juli_dac__devinitdata = { +static struct snd_akm4xxx akm_juli_dac = { .type =SND_AK4358 , .num_dacs =8 ,/* DAC1 - analog out DAC2 - analog in monitor
@@ -357,7 +357,7 @@ static int juli_mute_put(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new juli_mute_controls[]__devinitdata = { +static struct snd_kcontrol_new juli_mute_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Master Playback Switch" ,
@@ -411,7 +411,7 @@ static struct snd_kcontrol_new juli_mute_controls[] __devinitdata = { }, }; -static char *slave_vols[]__devinitdata = { +static char *slave_vols[] = {PCM_VOLUME ,MONITOR_AN_IN_VOLUME ,MONITOR_DIG_IN_VOLUME ,
@@ -419,8 +419,7 @@ static char *slave_vols[] __devinitdata = {NULL }; -static __devinitdata -DECLARE_TLV_DB_SCALE(juli_master_db_scale, -6350, 50, 1); +static DECLARE_TLV_DB_SCALE(juli_master_db_scale, -6350, 50, 1);static struct snd_kcontrol *ctl_find (struct snd_card *card,const char *name)
@@ -667,7 +666,7 @@ static int juli_init(struct snd_ice1712 *ice)* hence the driver needs to sets up it properly. */ -static unsigned char juli_eeprom[]__devinitdata = { +static unsigned char juli_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x2b ,/* clock 512, mpu401, 1xADC, 1xDACs, SPDIF in */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */
@@ -686,7 +685,7 @@ static unsigned char juli_eeprom[] __devinitdata = { };/* entry point */ -struct snd_ice1712_card_info snd_vt1724_juli_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_juli_cards[] = { { .subvendor =VT1724_SUBDEVICE_JULI , .name ="ESI Juli@" ,
sound/pci/ice1712/maya44.c +4 -4
@@ -454,7 +454,7 @@ static int maya_pb_route_put(struct snd_kcontrol *kcontrol,* controls to be added */ -static struct snd_kcontrol_new maya_controls[]__devinitdata = { +static struct snd_kcontrol_new maya_controls[] = { { .name ="Crossmix Playback Volume" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER ,
@@ -692,7 +692,7 @@ static struct snd_pcm_hw_constraint_list dac_rates = {/* * chip addresses on I2C bus */ -static unsigned char wm8776_addr[2 ]__devinitdata = { +static unsigned char wm8776_addr[2 ] = {0x34 ,0x36 ,/* codec 0 & 1 */ };
@@ -742,7 +742,7 @@ static int maya44_init(struct snd_ice1712 *ice)* hence the driver needs to sets up it properly. */ -static unsigned char maya44_eeprom[]__devinitdata = { +static unsigned char maya44_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x45 ,/* clock xin1=49.152MHz, mpu401, 2 stereo ADCs+DACs */ [ICE_EEP2_ACLINK ] =0x80 ,
@@ -764,7 +764,7 @@ static unsigned char maya44_eeprom[] __devinitdata = { };/* entry point */ -struct snd_ice1712_card_info snd_vt1724_maya44_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_maya44_cards[] = { { .subvendor =VT1724_SUBDEVICE_MAYA44 , .name ="ESI Maya44" ,
sound/pci/ice1712/phase.c +7 -7
@@ -102,13 +102,13 @@ static const unsigned char wm_vol[256] = {#define WM_VOL_MAX (sizeof(wm_vol) - 1)#define WM_VOL_MUTE 0x8000 -static struct snd_akm4xxx akm_phase22__devinitdata = { +static struct snd_akm4xxx akm_phase22 = { .type =SND_AK4524 , .num_dacs =2 , .num_adcs =2 , }; -static struct snd_ak4xxx_private akm_phase22_priv__devinitdata = { +static struct snd_ak4xxx_private akm_phase22_priv = { .caddr =2 , .cif =1 , .data_mask =1 <<4 ,
@@ -171,7 +171,7 @@ static int phase22_add_controls(struct snd_ice1712 *ice)return 0 ; } -static unsigned char phase22_eeprom[]__devinitdata = { +static unsigned char phase22_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x28 ,/* clock 512, mpu 401, spdif-in/1xADC, 1xDACs */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */
@@ -188,7 +188,7 @@ static unsigned char phase22_eeprom[] __devinitdata = { [ICE_EEP2_GPIO_STATE2] = 0x00, }; -static unsigned char phase28_eeprom[]__devinitdata = { +static unsigned char phase28_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x2b ,/* clock 512, mpu401, spdif-in/1xADC, 4xDACs */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */
@@ -769,7 +769,7 @@ static int phase28_oversampling_put(struct snd_kcontrol *kcontrol, static const DECLARE_TLV_DB_SCALE(db_scale_wm_dac, -12700, 100, 1); static const DECLARE_TLV_DB_SCALE(db_scale_wm_pcm, -6400, 50, 1); -static struct snd_kcontrol_new phase28_dac_controls[]__devinitdata = { +static struct snd_kcontrol_new phase28_dac_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Master Playback Switch" ,
@@ -884,7 +884,7 @@ static struct snd_kcontrol_new phase28_dac_controls[] __devinitdata = { } }; -static struct snd_kcontrol_new wm_controls[]__devinitdata = { +static struct snd_kcontrol_new wm_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Playback Switch" ,
@@ -942,7 +942,7 @@ static int phase28_add_controls(struct snd_ice1712 *ice)return 0 ; } -struct snd_ice1712_card_info snd_vt1724_phase_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_phase_cards[] = { { .subvendor =VT1724_SUBDEVICE_PHASE22 , .name ="Terratec PHASE 22" ,
sound/pci/ice1712/pontis.c +3 -3
@@ -549,7 +549,7 @@ static const DECLARE_TLV_DB_SCALE(db_scale_volume, -6400, 50, 1);* mixers */ -static struct snd_kcontrol_new pontis_controls[]__devinitdata = { +static struct snd_kcontrol_new pontis_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
@@ -804,7 +804,7 @@ static int pontis_init(struct snd_ice1712 *ice)* hence the driver needs to sets up it properly. */ -static unsigned char pontis_eeprom[]__devinitdata = { +static unsigned char pontis_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x08 ,/* clock 256, mpu401, spdif-in/ADC, 1DAC */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */ [ICE_EEP2_I2S ] =0xf8 ,/* vol, 96k, 24bit, 192k */
@@ -821,7 +821,7 @@ static unsigned char pontis_eeprom[] __devinitdata = { };/* entry point */ -struct snd_ice1712_card_info snd_vt1720_pontis_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1720_pontis_cards[] = { { .subvendor =VT1720_SUBDEVICE_PONTIS_MS300 , .name ="Pontis MS300" ,
sound/pci/ice1712/prodigy192.c +4 -4
@@ -368,7 +368,7 @@ static const DECLARE_TLV_DB_SCALE(db_scale_adc, 0, 150, 0);* mixers */ -static struct snd_kcontrol_new stac_controls[]__devinitdata = { +static struct snd_kcontrol_new stac_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Master Playback Switch" ,
@@ -606,7 +606,7 @@ static int ak4114_input_sw_put(struct snd_kcontrol *kcontrol, } -static struct snd_kcontrol_new ak4114_controls[]__devinitdata = { +static struct snd_kcontrol_new ak4114_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="MIODIO IEC958 Capture Input" ,
@@ -783,7 +783,7 @@ static int prodigy192_init(struct snd_ice1712 *ice)* hence the driver needs to sets up it properly. */ -static unsigned char prodigy71_eeprom[]__devinitdata = { +static unsigned char prodigy71_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x6a ,/* 49MHz crystal, mpu401, * spdif-in+ 1 stereo ADC, * 3 stereo DACs
@@ -807,7 +807,7 @@ static unsigned char prodigy71_eeprom[] __devinitdata = {/* entry point */ -struct snd_ice1712_card_info snd_vt1724_prodigy192_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_prodigy192_cards[] = { { .subvendor =VT1724_SUBDEVICE_PRODIGY192VE , .name ="Audiotrak Prodigy 192" ,
sound/pci/ice1712/prodigy_hifi.c +6 -6
@@ -298,7 +298,7 @@ static int ak4396_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem static const DECLARE_TLV_DB_SCALE(db_scale_wm_dac, -12700, 100, 1); static const DECLARE_TLV_DB_LINEAR(ak4396_db_scale, TLV_DB_GAIN_MUTE, 0); -static struct snd_kcontrol_new prodigy_hd2_controls[]__devinitdata = { +static struct snd_kcontrol_new prodigy_hd2_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
@@ -781,7 +781,7 @@ static int wm_chswap_put(struct snd_kcontrol *kcontrol,* mixers */ -static struct snd_kcontrol_new prodigy_hifi_controls[]__devinitdata = { +static struct snd_kcontrol_new prodigy_hifi_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
@@ -1151,7 +1151,7 @@ static int prodigy_hd2_init(struct snd_ice1712 *ice) } -static unsigned char prodigy71hifi_eeprom[]__devinitdata = { +static unsigned char prodigy71hifi_eeprom[] = {0x4b ,/* SYSCONF: clock 512, spdif-in/ADC, 4DACs */ 0x80 ,/* ACLINK: I2S */ 0xfc ,/* I2S: vol, 96k, 24bit, 192k */
@@ -1167,7 +1167,7 @@ static unsigned char prodigy71hifi_eeprom[] __devinitdata = { 0x00, /* GPIO_STATE2 */ }; -static unsigned char prodigyhd2_eeprom[]__devinitdata = { +static unsigned char prodigyhd2_eeprom[] = {0x4b ,/* SYSCONF: clock 512, spdif-in/ADC, 4DACs */ 0x80 ,/* ACLINK: I2S */ 0xfc ,/* I2S: vol, 96k, 24bit, 192k */
@@ -1183,7 +1183,7 @@ static unsigned char prodigyhd2_eeprom[] __devinitdata = { 0x00, /* GPIO_STATE2 */ }; -static unsigned char fortissimo4_eeprom[]__devinitdata = { +static unsigned char fortissimo4_eeprom[] = {0x43 ,/* SYSCONF: clock 512, ADC, 4DACs */ 0x80 ,/* ACLINK: I2S */ 0xfc ,/* I2S: vol, 96k, 24bit, 192k */
@@ -1200,7 +1200,7 @@ static unsigned char fortissimo4_eeprom[] __devinitdata = { };/* entry point */ -struct snd_ice1712_card_info snd_vt1724_prodigy_hifi_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_prodigy_hifi_cards[] = { { .subvendor =VT1724_SUBDEVICE_PRODIGY_HIFI , .name ="Audiotrak Prodigy 7.1 HiFi" ,
sound/pci/ice1712/psc724.c +2 -2
@@ -434,7 +434,7 @@ static void psc724_exit(struct snd_ice1712 *ice) }/* PSC724 has buggy EEPROM (no 96&192kHz, all FFh GPIOs), so override it here */ -static unsigned char psc724_eeprom[]__devinitdata = { +static unsigned char psc724_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x42 ,/* 49.152MHz, 1 ADC, 3 DACs */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */ [ICE_EEP2_I2S ] =0xf0 ,/* I2S volume, 96kHz, 24bit */
@@ -449,7 +449,7 @@ static unsigned char psc724_eeprom[] __devinitdata = { [ICE_EEP2_GPIO_STATE2] = 0x20, /* unmuted, all WM8766 pins low */ }; -struct snd_ice1712_card_info snd_vt1724_psc724_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_psc724_cards[] = { { .subvendor =VT1724_SUBDEVICE_PSC724 , .name ="Philips PSC724 Ultimate Edge" ,
sound/pci/ice1712/quartet.c +6 -7
@@ -386,7 +386,7 @@ static const struct snd_akm4xxx_adc_channel qtet_adc[] = { AK_CONTROL(PCM_34_CAPTURE_VOLUME, 2), }; -static struct snd_akm4xxx akm_qtet_dac__devinitdata = { +static struct snd_akm4xxx akm_qtet_dac = { .type =SND_AK4620 , .num_dacs =4 ,/* DAC1 - Output 12 */
@@ -758,7 +758,7 @@ static int qtet_sw_put(struct snd_kcontrol *kcontrol, .put = qtet_sw_put,\ .private_value = xpriv } -static struct snd_kcontrol_new qtet_controls[]__devinitdata = { +static struct snd_kcontrol_new qtet_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Master Playback Switch" ,
@@ -795,14 +795,13 @@ static struct snd_kcontrol_new qtet_controls[] __devinitdata = { QTET_CONTROL("Output 3/4 to Monitor 1/2", sw, OUT34_MON12), }; -static char *slave_vols[]__devinitdata = { +static char *slave_vols[] = {PCM_12_PLAYBACK_VOLUME ,PCM_34_PLAYBACK_VOLUME ,NULL }; -static __devinitdata -DECLARE_TLV_DB_SCALE(qtet_master_db_scale, -6350, 50, 1); +static DECLARE_TLV_DB_SCALE(qtet_master_db_scale, -6350, 50, 1);static struct snd_kcontrol *ctl_find (struct snd_card *card,const char *name)
@@ -1095,7 +1094,7 @@ static int qtet_init(struct snd_ice1712 *ice)return 0 ; } -static unsigned char qtet_eeprom[]__devinitdata = { +static unsigned char qtet_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x28 ,/* clock 256(24MHz), mpu401, 1xADC, 1xDACs, SPDIF in */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */
@@ -1116,7 +1115,7 @@ static unsigned char qtet_eeprom[] __devinitdata = { };/* entry point */ -struct snd_ice1712_card_info snd_vt1724_qtet_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_qtet_cards[] = { { .subvendor =VT1724_SUBDEVICE_QTET , .name ="Infrasonic Quartet" ,
sound/pci/ice1712/revo.c +11 -11
@@ -234,7 +234,7 @@ static const struct snd_akm4xxx_adc_channel revo51_adc[] = { }, }; -static struct snd_akm4xxx akm_revo_front__devinitdata = { +static struct snd_akm4xxx akm_revo_front = { .type =SND_AK4381 , .num_dacs =2 , .ops = {
@@ -243,7 +243,7 @@ static struct snd_akm4xxx akm_revo_front __devinitdata = { .dac_info = revo71_front, }; -static struct snd_ak4xxx_private akm_revo_front_priv__devinitdata = { +static struct snd_ak4xxx_private akm_revo_front_priv = { .caddr =1 , .cif =0 , .data_mask =VT1724_REVO_CDOUT ,
@@ -255,7 +255,7 @@ static struct snd_ak4xxx_private akm_revo_front_priv __devinitdata = { .mask_flags = 0, }; -static struct snd_akm4xxx akm_revo_surround__devinitdata = { +static struct snd_akm4xxx akm_revo_surround = { .type =SND_AK4355 , .idx_offset =1 , .num_dacs =6 ,
@@ -265,7 +265,7 @@ static struct snd_akm4xxx akm_revo_surround __devinitdata = { .dac_info = revo71_surround, }; -static struct snd_ak4xxx_private akm_revo_surround_priv__devinitdata = { +static struct snd_ak4xxx_private akm_revo_surround_priv = { .caddr =3 , .cif =0 , .data_mask =VT1724_REVO_CDOUT ,
@@ -277,7 +277,7 @@ static struct snd_ak4xxx_private akm_revo_surround_priv __devinitdata = { .mask_flags = 0, }; -static struct snd_akm4xxx akm_revo51__devinitdata = { +static struct snd_akm4xxx akm_revo51 = { .type =SND_AK4358 , .num_dacs =8 , .ops = {
@@ -286,7 +286,7 @@ static struct snd_akm4xxx akm_revo51 __devinitdata = { .dac_info = revo51_dac, }; -static struct snd_ak4xxx_private akm_revo51_priv__devinitdata = { +static struct snd_ak4xxx_private akm_revo51_priv = { .caddr =2 , .cif =0 , .data_mask =VT1724_REVO_CDOUT ,
@@ -298,13 +298,13 @@ static struct snd_ak4xxx_private akm_revo51_priv __devinitdata = { .mask_flags = 0, }; -static struct snd_akm4xxx akm_revo51_adc__devinitdata = { +static struct snd_akm4xxx akm_revo51_adc = { .type =SND_AK5365 , .num_adcs =2 , .adc_info = revo51_adc, }; -static struct snd_ak4xxx_private akm_revo51_adc_priv__devinitdata = { +static struct snd_ak4xxx_private akm_revo51_adc_priv = { .caddr =2 , .cif =0 , .data_mask =VT1724_REVO_CDOUT ,
@@ -345,7 +345,7 @@ static const struct snd_akm4xxx_dac_channel ap192_dac[] = {AK_DAC ("PCM Playback Volume" ,2 ) }; -static struct snd_akm4xxx akm_ap192__devinitdata = { +static struct snd_akm4xxx akm_ap192 = { .type =SND_AK4358 , .num_dacs =2 , .ops = {
@@ -354,7 +354,7 @@ static struct snd_akm4xxx akm_ap192 __devinitdata = { .dac_info = ap192_dac, }; -static struct snd_ak4xxx_private akm_ap192_priv__devinitdata = { +static struct snd_ak4xxx_private akm_ap192_priv = { .caddr =2 , .cif =0 , .data_mask =VT1724_REVO_CDOUT ,
@@ -606,7 +606,7 @@ static int revo_add_controls(struct snd_ice1712 *ice) }/* entry point */ -struct snd_ice1712_card_info snd_vt1724_revo_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_revo_cards[] = { { .subvendor =VT1724_SUBDEVICE_REVOLUTION71 , .name ="M Audio Revolution-7.1" ,
sound/pci/ice1712/se.c +4 -4
@@ -302,7 +302,7 @@ static void se200pci_WM8776_set_agc(struct snd_ice1712 *ice, unsigned int agc)static void se200pci_WM8776_init (struct snd_ice1712 *ice) {int i; -static unsigned short __devinitdata default_values[] = { +static unsigned short default_values[] = {0x100 ,0x100 ,0x100 ,0x100 ,0x100 ,0x100 ,0x000 ,0x090 ,0x000 ,0x000 ,
@@ -722,7 +722,7 @@ static int se_add_controls(struct snd_ice1712 *ice)/* entry point */ /****************************************************************************/ -static unsigned char se200pci_eeprom[]__devinitdata = { +static unsigned char se200pci_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x4b ,/* 49.152Hz, spdif-in/ADC, 4DACs */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */ [ICE_EEP2_I2S ] =0x78 ,/* 96k-ok, 24bit, 192k-ok */
@@ -741,7 +741,7 @@ static unsigned char se200pci_eeprom[] __devinitdata = { [ICE_EEP2_GPIO_STATE2] = 0x07, /* WM8766 ML/MC/MD */ }; -static unsigned char se90pci_eeprom[]__devinitdata = { +static unsigned char se90pci_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x4b ,/* 49.152Hz, spdif-in/ADC, 4DACs */ [ICE_EEP2_ACLINK ] =0x80 ,/* I2S */ [ICE_EEP2_I2S ] =0x78 ,/* 96k-ok, 24bit, 192k-ok */
@@ -750,7 +750,7 @@ static unsigned char se90pci_eeprom[] __devinitdata = {/* ALL GPIO bits are in input mode */ }; -struct snd_ice1712_card_info snd_vt1724_se_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_se_cards[] = { { .subvendor =VT1724_SUBDEVICE_SE200PCI , .name ="ONKYO SE200PCI" ,
sound/pci/ice1712/vt1720_mobo.c +3 -3
@@ -53,7 +53,7 @@ static int k8x800_add_controls(struct snd_ice1712 *ice)/* EEPROM image */ -static unsigned char k8x800_eeprom[]__devinitdata = { +static unsigned char k8x800_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x01 ,/* clock 256, 1ADC, 2DACs */ [ICE_EEP2_ACLINK ] =0x02 ,/* ACLINK, packed */ [ICE_EEP2_I2S ] =0x00 ,/* - */
@@ -69,7 +69,7 @@ static unsigned char k8x800_eeprom[] __devinitdata = { [ICE_EEP2_GPIO_STATE2] = 0x00, /* - */ }; -static unsigned char sn25p_eeprom[]__devinitdata = { +static unsigned char sn25p_eeprom[] = { [ICE_EEP2_SYSCONF ] =0x01 ,/* clock 256, 1ADC, 2DACs */ [ICE_EEP2_ACLINK ] =0x02 ,/* ACLINK, packed */ [ICE_EEP2_I2S ] =0x00 ,/* - */
@@ -87,7 +87,7 @@ static unsigned char sn25p_eeprom[] __devinitdata = {/* entry point */ -struct snd_ice1712_card_info snd_vt1720_mobo_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1720_mobo_cards[] = { { .subvendor =VT1720_SUBDEVICE_K8X800 , .name ="Albatron K8X800 Pro II" ,
sound/pci/ice1712/wtm.c +3 -3
@@ -383,7 +383,7 @@ static int stac9460_mic_sw_put(struct snd_kcontrol *kcontrol,/* * Control tabs */ -static struct snd_kcontrol_new stac9640_controls[]__devinitdata = { +static struct snd_kcontrol_new stac9640_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Master Playback Switch" ,
@@ -484,7 +484,7 @@ static int wtm_init(struct snd_ice1712 *ice) } -static unsigned char wtm_eeprom[]__devinitdata = { +static unsigned char wtm_eeprom[] = {0x47 ,/*SYSCONF: clock 192KHz, 4ADC, 8DAC */ 0x80 ,/* ACLINK : I2S */ 0xf8 ,/* I2S: vol; 96k, 24bit, 192k */
@@ -502,7 +502,7 @@ static unsigned char wtm_eeprom[] __devinitdata = {/*entry point*/ -struct snd_ice1712_card_info snd_vt1724_wtm_cards[]__devinitdata = { +struct snd_ice1712_card_info snd_vt1724_wtm_cards[] = { { .subvendor =VT1724_SUBDEVICE_WTM , .name ="ESI Waveterminal 192M" ,
sound/pci/intel8x0.c +8 -8
@@ -1564,7 +1564,7 @@ static int snd_intel8x0_pcm1(struct intel8x0 *chip, int device,return 0 ; } -static struct ich_pcm_table intel_pcms[]__devinitdata = { +static struct ich_pcm_table intel_pcms[] = { { .playback_ops = &snd_intel8x0_playback_ops, .capture_ops = &snd_intel8x0_capture_ops,
@@ -1601,7 +1601,7 @@ static struct ich_pcm_table intel_pcms[] __devinitdata = { }, }; -static struct ich_pcm_table nforce_pcms[]__devinitdata = { +static struct ich_pcm_table nforce_pcms[] = { { .playback_ops = &snd_intel8x0_playback_ops, .capture_ops = &snd_intel8x0_capture_ops,
@@ -1624,7 +1624,7 @@ static struct ich_pcm_table nforce_pcms[] __devinitdata = { }, }; -static struct ich_pcm_table ali_pcms[]__devinitdata = { +static struct ich_pcm_table ali_pcms[] = { { .playback_ops = &snd_intel8x0_ali_playback_ops, .capture_ops = &snd_intel8x0_ali_capture_ops,
@@ -1719,7 +1719,7 @@ static void snd_intel8x0_mixer_free_ac97(struct snd_ac97 *ac97) chip->ac97[ac97->num] =NULL ; } -static struct ac97_pcm ac97_pcm_defs[]__devinitdata = { +static struct ac97_pcm ac97_pcm_defs[] = {/* front PCM */ { .exclusive =1 ,
@@ -1789,7 +1789,7 @@ static struct ac97_pcm ac97_pcm_defs[] __devinitdata = { }, }; -static struct ac97_quirk ac97_quirks[]__devinitdata = { +static struct ac97_quirk ac97_quirks[] = { { .subvendor =0x0e11 , .subdevice =0x000e ,
@@ -2883,7 +2883,7 @@ static void intel8x0_measure_ac97_clock(struct intel8x0 *chip)snd_ac97_update_power (chip->ac97[0 ],AC97_PCM_FRONT_DAC_RATE ,0 ); } -static struct snd_pci_quirk intel8x0_clock_list[]__devinitdata = { +static struct snd_pci_quirk intel8x0_clock_list[] = {SND_PCI_QUIRK (0x0e11 ,0x008a ,"AD1885" ,41000 ),SND_PCI_QUIRK (0x1028 ,0x00be ,"AD1885" ,44100 ),SND_PCI_QUIRK (0x1028 ,0x0177 ,"AD1980" ,48000 ),
@@ -3227,7 +3227,7 @@ static int snd_intel8x0_create(struct snd_card *card,static struct shortname_table {unsigned int id;const char *s; -} shortnames[]__devinitdata = { +} shortnames[] = { {PCI_DEVICE_ID_INTEL_82801AA_5 ,"Intel 82801AA-ICH" }, {PCI_DEVICE_ID_INTEL_82801AB_5 ,"Intel 82901AB-ICH0" }, {PCI_DEVICE_ID_INTEL_82801BA_4 ,"Intel 82801BA-ICH2" },
@@ -3253,7 +3253,7 @@ static struct shortname_table { { 0, NULL }, }; -static struct snd_pci_quirk spdif_aclink_defaults[]__devinitdata = { +static struct snd_pci_quirk spdif_aclink_defaults[] = {SND_PCI_QUIRK (0x147b ,0x1c1a ,"ASUS KN8" ,1 ), { }/* end */ };
sound/pci/intel8x0m.c +2 -2
@@ -749,7 +749,7 @@ static int snd_intel8x0m_pcm1(struct intel8x0m *chip, int device,return 0 ; } -static struct ich_pcm_table intel_pcms[]__devinitdata = { +static struct ich_pcm_table intel_pcms[] = { { .suffix ="Modem" , .playback_ops = &snd_intel8x0m_playback_ops,
@@ -1252,7 +1252,7 @@ static int snd_intel8x0m_create(struct snd_card *card,static struct shortname_table {unsigned int id;const char *s; -} shortnames[]__devinitdata = { +} shortnames[] = { {PCI_DEVICE_ID_INTEL_82801AA_6 ,"Intel 82801AA-ICH" }, {PCI_DEVICE_ID_INTEL_82801AB_6 ,"Intel 82901AB-ICH0" }, {PCI_DEVICE_ID_INTEL_82801BA_6 ,"Intel 82801BA-ICH2" },
sound/pci/lola/lola_mixer.c +4 -4
@@ -579,7 +579,7 @@ static int lola_analog_vol_tlv(struct snd_kcontrol *kcontrol, int op_flag,return 0 ; } -static struct snd_kcontrol_new lola_analog_mixer__devinitdata = { +static struct snd_kcontrol_new lola_analog_mixer = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE | SNDRV_CTL_ELEM_ACCESS_TLV_READ |
@@ -644,7 +644,7 @@ static int lola_input_src_put(struct snd_kcontrol *kcontrol,return lola_set_src_config (chip, mask, true); } -static struct snd_kcontrol_new lola_input_src_mixer__devinitdata = { +static struct snd_kcontrol_new lola_input_src_mixer = { .name ="Digital SRC Capture Switch" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .info = lola_input_src_info,
@@ -726,7 +726,7 @@ static int lola_src_gain_put(struct snd_kcontrol *kcontrol,/* raw value: 0 = -84dB, 336 = 0dB, 408=18dB, incremented 1 for mute */ static const DECLARE_TLV_DB_SCALE(lola_src_gain_tlv, -8425, 25, 1); -static struct snd_kcontrol_new lola_src_gain_mixer__devinitdata = { +static struct snd_kcontrol_new lola_src_gain_mixer = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |SNDRV_CTL_ELEM_ACCESS_TLV_READ ),
@@ -813,7 +813,7 @@ static int lola_dest_gain_put(struct snd_kcontrol *kcontrol, static const DECLARE_TLV_DB_SCALE(lola_dest_gain_tlv, -8425, 25, 1); -static struct snd_kcontrol_new lola_dest_gain_mixer__devinitdata = { +static struct snd_kcontrol_new lola_dest_gain_mixer = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |SNDRV_CTL_ELEM_ACCESS_TLV_READ ),
sound/pci/lx6464es/lx6464es.c +1 -1
@@ -907,7 +907,7 @@ static int lx_control_playback_put(struct snd_kcontrol *kcontrol,return changed; } -static struct snd_kcontrol_new lx_control_playback_switch__devinitdata = { +static struct snd_kcontrol_new lx_control_playback_switch = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Playback Switch" , .index =0 ,
sound/pci/maestro3.c +4 -4
@@ -822,7 +822,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_m3_ids) = {MODULE_DEVICE_TABLE (pci, snd_m3_ids); -static struct snd_pci_quirk m3_amp_quirk_list[]__devinitdata = { +static struct snd_pci_quirk m3_amp_quirk_list[] = {SND_PCI_QUIRK (0x0E11 ,0x0094 ,"Compaq Evo N600c" ,0x0c ),SND_PCI_QUIRK (0x10f7 ,0x833e ,"Panasonic CF-28" ,0x0d ),SND_PCI_QUIRK (0x10f7 ,0x833d ,"Panasonic CF-72" ,0x0d ),
@@ -831,7 +831,7 @@ static struct snd_pci_quirk m3_amp_quirk_list[] __devinitdata = { { }/* END */ }; -static struct snd_pci_quirk m3_irda_quirk_list[]__devinitdata = { +static struct snd_pci_quirk m3_irda_quirk_list[] = {SND_PCI_QUIRK (0x1028 ,0x00b0 ,"Dell Inspiron 4000" ,1 ),SND_PCI_QUIRK (0x1028 ,0x00a4 ,"Dell Inspiron 8000" ,1 ),SND_PCI_QUIRK (0x1028 ,0x00e6 ,"Dell Inspiron 8100" ,1 ),
@@ -839,7 +839,7 @@ static struct snd_pci_quirk m3_irda_quirk_list[] __devinitdata = { };/* hardware volume quirks */ -static struct snd_pci_quirk m3_hv_quirk_list[]__devinitdata = { +static struct snd_pci_quirk m3_hv_quirk_list[] = {/* Allegro chips */ SND_PCI_QUIRK (0x0E11 ,0x002E ,NULL ,HV_CTRL_ENABLE |HV_BUTTON_FROM_GD ),SND_PCI_QUIRK (0x0E11 ,0x0094 ,NULL ,HV_CTRL_ENABLE |HV_BUTTON_FROM_GD ),
@@ -917,7 +917,7 @@ static struct snd_pci_quirk m3_hv_quirk_list[] __devinitdata = { };/* HP Omnibook quirks */ -static struct snd_pci_quirk m3_omnibook_quirk_list[]__devinitdata = { +static struct snd_pci_quirk m3_omnibook_quirk_list[] = {SND_PCI_QUIRK_ID (0x103c ,0x0010 ),/* HP OmniBook 6000 */ SND_PCI_QUIRK_ID (0x103c ,0x0011 ),/* HP OmniBook 500 */ { }/* END */
sound/pci/nm256/nm256.c +1 -1
@@ -1635,7 +1635,7 @@ __error:enum {NM_BLACKLISTED ,NM_RESET_WORKAROUND ,NM_RESET_WORKAROUND_2 }; -static struct snd_pci_quirk nm256_quirks[]__devinitdata = { +static struct snd_pci_quirk nm256_quirks[] = {/* HP omnibook 4150 has cs4232 codec internally */ SND_PCI_QUIRK (0x103c ,0x0007 ,"HP omnibook 4150" ,NM_BLACKLISTED ),/* Reset workarounds to avoid lock-ups */
sound/pci/sonicvibes.c +3 -3
@@ -1087,7 +1087,7 @@ static int snd_sonicvibes_put_double(struct snd_kcontrol *kcontrol, struct snd_creturn change; } -static struct snd_kcontrol_new snd_sonicvibes_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_sonicvibes_controls[] = {SONICVIBES_DOUBLE ("Capture Volume" ,0 ,SV_IREG_LEFT_ADC ,SV_IREG_RIGHT_ADC ,0 ,0 ,15 ,0 ),SONICVIBES_DOUBLE ("Aux Playback Switch" ,0 ,SV_IREG_LEFT_AUX1 ,SV_IREG_RIGHT_AUX1 ,7 ,7 ,1 ,1 ),SONICVIBES_DOUBLE ("Aux Playback Volume" ,0 ,SV_IREG_LEFT_AUX1 ,SV_IREG_RIGHT_AUX1 ,0 ,0 ,31 ,1 ),
@@ -1188,7 +1188,7 @@ static void snd_sonicvibes_proc_init(struct sonicvibes * sonic)*/ #ifdef SUPPORT_JOYSTICK -static struct snd_kcontrol_new snd_sonicvibes_game_control__devinitdata = +static struct snd_kcontrol_new snd_sonicvibes_game_control =SONICVIBES_SINGLE ("Joystick Speed" ,0 ,SV_IREG_GAME_PORT ,1 ,15 ,0 );static int snd_sonicvibes_create_gameport (struct sonicvibes *sonic)
@@ -1401,7 +1401,7 @@ static int snd_sonicvibes_create(struct snd_card *card,* MIDI section */ -static struct snd_kcontrol_new snd_sonicvibes_midi_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_sonicvibes_midi_controls[] = {SONICVIBES_SINGLE ("SonicVibes Wave Source RAM" ,0 ,SV_IREG_WAVE_SOURCE ,0 ,1 ,0 ),SONICVIBES_SINGLE ("SonicVibes Wave Source RAM+ROM" ,0 ,SV_IREG_WAVE_SOURCE ,1 ,1 ,0 ),SONICVIBES_SINGLE ("SonicVibes Onboard Synth" ,0 ,SV_IREG_MPU401 ,0 ,1 ,0 ),
sound/pci/trident/trident_main.c +11 -11
@@ -2371,7 +2371,7 @@ static int snd_trident_spdif_control_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_trident_spdif_control__devinitdata = +static struct snd_kcontrol_new snd_trident_spdif_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name =SNDRV_CTL_NAME_IEC958 ("" ,PLAYBACK ,SWITCH ),
@@ -2434,7 +2434,7 @@ static int snd_trident_spdif_default_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_trident_spdif_default__devinitdata = +static struct snd_kcontrol_new snd_trident_spdif_default = { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .name =SNDRV_CTL_NAME_IEC958 ("" ,PLAYBACK ,DEFAULT ),
@@ -2467,7 +2467,7 @@ static int snd_trident_spdif_mask_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_trident_spdif_mask__devinitdata = +static struct snd_kcontrol_new snd_trident_spdif_mask = { .access =SNDRV_CTL_ELEM_ACCESS_READ , .iface =SNDRV_CTL_ELEM_IFACE_PCM ,
@@ -2529,7 +2529,7 @@ static int snd_trident_spdif_stream_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_trident_spdif_stream__devinitdata = +static struct snd_kcontrol_new snd_trident_spdif_stream = { .access =SNDRV_CTL_ELEM_ACCESS_READWRITE |SNDRV_CTL_ELEM_ACCESS_INACTIVE , .iface =SNDRV_CTL_ELEM_IFACE_PCM ,
@@ -2579,7 +2579,7 @@ static int snd_trident_ac97_control_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_trident_ac97_rear_control__devinitdata = +static struct snd_kcontrol_new snd_trident_ac97_rear_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Rear Path" ,
@@ -2637,7 +2637,7 @@ static int snd_trident_vol_control_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_trident_vol_music_control__devinitdata = +static struct snd_kcontrol_new snd_trident_vol_music_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Music Playback Volume" ,
@@ -2648,7 +2648,7 @@ static struct snd_kcontrol_new snd_trident_vol_music_control __devinitdata = .tlv = { .p = db_scale_gvol }, }; -static struct snd_kcontrol_new snd_trident_vol_wave_control__devinitdata = +static struct snd_kcontrol_new snd_trident_vol_wave_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Wave Playback Volume" ,
@@ -2715,7 +2715,7 @@ static int snd_trident_pcm_vol_control_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_trident_pcm_vol_control__devinitdata = +static struct snd_kcontrol_new snd_trident_pcm_vol_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Front Playback Volume" ,
@@ -2779,7 +2779,7 @@ static int snd_trident_pcm_pan_control_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_trident_pcm_pan_control__devinitdata = +static struct snd_kcontrol_new snd_trident_pcm_pan_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Pan Playback Control" ,
@@ -2836,7 +2836,7 @@ static int snd_trident_pcm_rvol_control_put(struct snd_kcontrol *kcontrol, static const DECLARE_TLV_DB_SCALE(db_scale_crvol, -3175, 25, 1); -static struct snd_kcontrol_new snd_trident_pcm_rvol_control__devinitdata = +static struct snd_kcontrol_new snd_trident_pcm_rvol_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Reverb Playback Volume" ,
@@ -2892,7 +2892,7 @@ static int snd_trident_pcm_cvol_control_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_trident_pcm_cvol_control__devinitdata = +static struct snd_kcontrol_new snd_trident_pcm_cvol_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Chorus Playback Volume" ,
sound/pci/via82xx.c +6 -6
@@ -1643,7 +1643,7 @@ static int snd_via8233_capture_source_put(struct snd_kcontrol *kcontrol,return val != oval; } -static struct snd_kcontrol_new snd_via8233_capture_source__devinitdata = { +static struct snd_kcontrol_new snd_via8233_capture_source = { .name ="Input Source Select" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .info = snd_via8233_capture_source_info,
@@ -1683,7 +1683,7 @@ static int snd_via8233_dxs3_spdif_put(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_via8233_dxs3_spdif_control__devinitdata = { +static struct snd_kcontrol_new snd_via8233_dxs3_spdif_control = { .name =SNDRV_CTL_NAME_IEC958 ("Output " ,NONE ,SWITCH ), .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .info = snd_via8233_dxs3_spdif_info,
@@ -1772,7 +1772,7 @@ static int snd_via8233_pcmdxs_volume_put(struct snd_kcontrol *kcontrol, static const DECLARE_TLV_DB_SCALE(db_scale_dxs, -4650, 150, 1); -static struct snd_kcontrol_new snd_via8233_pcmdxs_volume_control__devinitdata = { +static struct snd_kcontrol_new snd_via8233_pcmdxs_volume_control = { .name ="PCM Playback Volume" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
@@ -1783,7 +1783,7 @@ static struct snd_kcontrol_new snd_via8233_pcmdxs_volume_control __devinitdata = .tlv = { .p = db_scale_dxs } }; -static struct snd_kcontrol_new snd_via8233_dxs_volume_control__devinitdata = { +static struct snd_kcontrol_new snd_via8233_dxs_volume_control = { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .device =0 ,/* .subdevice set later */
@@ -2452,7 +2452,7 @@ struct via823x_info {char *name;int type; }; -static struct via823x_info via823x_cards[]__devinitdata = { +static struct via823x_info via823x_cards[] = { {VIA_REV_PRE_8233 ,"VIA 8233-Pre" ,TYPE_VIA8233 }, {VIA_REV_8233C ,"VIA 8233C" ,TYPE_VIA8233 }, {VIA_REV_8233 ,"VIA 8233" ,TYPE_VIA8233 },
@@ -2466,7 +2466,7 @@ static struct via823x_info via823x_cards[] __devinitdata = {* auto detection of DXS channel supports. */ -static struct snd_pci_quirk dxs_whitelist[]__devinitdata = { +static struct snd_pci_quirk dxs_whitelist[] = {SND_PCI_QUIRK (0x1005 ,0x4710 ,"Avance Logic Mobo" ,VIA_DXS_ENABLE ),SND_PCI_QUIRK (0x1019 ,0x0996 ,"ESC Mobo" ,VIA_DXS_48K ),SND_PCI_QUIRK (0x1019 ,0x0a81 ,"ECS K7VTA3 v8.0" ,VIA_DXS_NO_VRA ),
sound/pci/ymfpci/ymfpci_main.c +8 -8
@@ -1339,7 +1339,7 @@ static int snd_ymfpci_spdif_default_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_ymfpci_spdif_default__devinitdata = +static struct snd_kcontrol_new snd_ymfpci_spdif_default = { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .name =SNDRV_CTL_NAME_IEC958 ("" ,PLAYBACK ,DEFAULT ),
@@ -1367,7 +1367,7 @@ static int snd_ymfpci_spdif_mask_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_ymfpci_spdif_mask__devinitdata = +static struct snd_kcontrol_new snd_ymfpci_spdif_mask = { .access =SNDRV_CTL_ELEM_ACCESS_READ , .iface =SNDRV_CTL_ELEM_IFACE_PCM ,
@@ -1414,7 +1414,7 @@ static int snd_ymfpci_spdif_stream_put(struct snd_kcontrol *kcontrol,return change; } -static struct snd_kcontrol_new snd_ymfpci_spdif_stream__devinitdata = +static struct snd_kcontrol_new snd_ymfpci_spdif_stream = { .access =SNDRV_CTL_ELEM_ACCESS_READWRITE |SNDRV_CTL_ELEM_ACCESS_INACTIVE , .iface =SNDRV_CTL_ELEM_IFACE_PCM ,
@@ -1462,7 +1462,7 @@ static int snd_ymfpci_drec_source_put(struct snd_kcontrol *kcontrol, struct snd_return reg != old_reg; } -static struct snd_kcontrol_new snd_ymfpci_drec_source__devinitdata = { +static struct snd_kcontrol_new snd_ymfpci_drec_source = { .access =SNDRV_CTL_ELEM_ACCESS_READWRITE , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Direct Recording Source" ,
@@ -1632,7 +1632,7 @@ static int snd_ymfpci_put_dup4ch(struct snd_kcontrol *kcontrol, struct snd_ctl_ereturn change; } -static struct snd_kcontrol_new snd_ymfpci_dup4ch__devinitdata = { +static struct snd_kcontrol_new snd_ymfpci_dup4ch = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="4ch Duplication" , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE ,
@@ -1641,7 +1641,7 @@ static struct snd_kcontrol_new snd_ymfpci_dup4ch __devinitdata = { .put = snd_ymfpci_put_dup4ch, }; -static struct snd_kcontrol_new snd_ymfpci_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_ymfpci_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Wave Playback Volume" ,
@@ -1735,7 +1735,7 @@ static int snd_ymfpci_gpio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_return 0 ; } -static struct snd_kcontrol_new snd_ymfpci_rear_shared__devinitdata = { +static struct snd_kcontrol_new snd_ymfpci_rear_shared = { .name ="Shared Rear/Line-In Switch" , .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .info = snd_ymfpci_gpio_sw_info,
@@ -1799,7 +1799,7 @@ static int snd_ymfpci_pcm_vol_put(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new snd_ymfpci_pcm_volume__devinitdata = { +static struct snd_kcontrol_new snd_ymfpci_pcm_volume = { .iface =SNDRV_CTL_ELEM_IFACE_PCM , .name ="PCM Playback Volume" , .access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
sound/ppc/awacs.c +26 -26
161 lines not on this page · raw message
sound/ppc/burgundy.c +10 -10
@@ -467,7 +467,7 @@ static int snd_pmac_burgundy_put_switch_b(struct snd_kcontrol *kcontrol,/* * Burgundy mixers */ -static struct snd_kcontrol_new snd_pmac_burgundy_mixers[]__devinitdata = { +static struct snd_kcontrol_new snd_pmac_burgundy_mixers[] = {BURGUNDY_VOLUME_W ("Master Playback Volume" ,0 ,MASK_ADDR_BURGUNDY_MASTER_VOLUME ,8 ), BURGUNDY_VOLUME_W("CD Capture Volume", 0,
@@ -495,7 +495,7 @@ static struct snd_kcontrol_new snd_pmac_burgundy_mixers[] __devinitdata = {*/ BURGUNDY_SWITCH_B ("PCM Capture Switch" ,0 ,MASK_ADDR_BURGUNDY_HOSTIFEH ,0x01 ,0 ,0 ) }; -static struct snd_kcontrol_new snd_pmac_burgundy_mixers_imac[]__devinitdata = { +static struct snd_kcontrol_new snd_pmac_burgundy_mixers_imac[] = {BURGUNDY_VOLUME_W ("Line in Capture Volume" ,0 ,MASK_ADDR_BURGUNDY_VOLLINE ,16 ), BURGUNDY_VOLUME_W("Mic Capture Volume", 0,
@@ -521,7 +521,7 @@ static struct snd_kcontrol_new snd_pmac_burgundy_mixers_imac[] __devinitdata = {BURGUNDY_SWITCH_B ("Mic Boost Capture Switch" ,0 ,MASK_ADDR_BURGUNDY_INPBOOST ,0x40 ,0x80 ,1 ) }; -static struct snd_kcontrol_new snd_pmac_burgundy_mixers_pmac[]__devinitdata = { +static struct snd_kcontrol_new snd_pmac_burgundy_mixers_pmac[] = {BURGUNDY_VOLUME_W ("Line in Capture Volume" ,0 ,MASK_ADDR_BURGUNDY_VOLMIC ,16 ), BURGUNDY_VOLUME_B("Line in Gain Capture Volume", 0,
@@ -537,33 +537,33 @@ static struct snd_kcontrol_new snd_pmac_burgundy_mixers_pmac[] __devinitdata = {/* BURGUNDY_SWITCH_B("Line in Boost Capture Switch", 0, * MASK_ADDR_BURGUNDY_INPBOOST, 0x40, 0x80, 1) */ }; -static struct snd_kcontrol_new snd_pmac_burgundy_master_sw_imac__devinitdata = +static struct snd_kcontrol_new snd_pmac_burgundy_master_sw_imac =BURGUNDY_SWITCH_B ("Master Playback Switch" ,0 ,MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES ,BURGUNDY_OUTPUT_LEFT |BURGUNDY_LINEOUT_LEFT |BURGUNDY_HP_LEFT ,BURGUNDY_OUTPUT_RIGHT |BURGUNDY_LINEOUT_RIGHT |BURGUNDY_HP_RIGHT ,1 ); -static struct snd_kcontrol_new snd_pmac_burgundy_master_sw_pmac__devinitdata = +static struct snd_kcontrol_new snd_pmac_burgundy_master_sw_pmac =BURGUNDY_SWITCH_B ("Master Playback Switch" ,0 ,MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES ,BURGUNDY_OUTPUT_INTERN |BURGUNDY_OUTPUT_LEFT ,BURGUNDY_OUTPUT_RIGHT ,1 ); -static struct snd_kcontrol_new snd_pmac_burgundy_speaker_sw_imac__devinitdata = +static struct snd_kcontrol_new snd_pmac_burgundy_speaker_sw_imac =BURGUNDY_SWITCH_B ("Speaker Playback Switch" ,0 ,MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES ,BURGUNDY_OUTPUT_LEFT ,BURGUNDY_OUTPUT_RIGHT ,1 ); -static struct snd_kcontrol_new snd_pmac_burgundy_speaker_sw_pmac__devinitdata = +static struct snd_kcontrol_new snd_pmac_burgundy_speaker_sw_pmac =BURGUNDY_SWITCH_B ("Speaker Playback Switch" ,0 ,MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES ,BURGUNDY_OUTPUT_INTERN ,0 ,0 ); -static struct snd_kcontrol_new snd_pmac_burgundy_line_sw_imac__devinitdata = +static struct snd_kcontrol_new snd_pmac_burgundy_line_sw_imac =BURGUNDY_SWITCH_B ("Line out Playback Switch" ,0 ,MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES ,BURGUNDY_LINEOUT_LEFT ,BURGUNDY_LINEOUT_RIGHT ,1 ); -static struct snd_kcontrol_new snd_pmac_burgundy_line_sw_pmac__devinitdata = +static struct snd_kcontrol_new snd_pmac_burgundy_line_sw_pmac =BURGUNDY_SWITCH_B ("Line out Playback Switch" ,0 ,MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES ,BURGUNDY_OUTPUT_LEFT ,BURGUNDY_OUTPUT_RIGHT ,1 ); -static struct snd_kcontrol_new snd_pmac_burgundy_hp_sw_imac__devinitdata = +static struct snd_kcontrol_new snd_pmac_burgundy_hp_sw_imac =BURGUNDY_SWITCH_B ("Headphone Playback Switch" ,0 ,MASK_ADDR_BURGUNDY_MORE_OUTPUTENABLES ,BURGUNDY_HP_LEFT ,BURGUNDY_HP_RIGHT ,1 );
sound/ppc/pmac.c +1 -1
@@ -1146,7 +1146,7 @@ static int pmac_hp_detect_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct snd_kcontrol_new auto_mute_controls[]__devinitdata = { +static struct snd_kcontrol_new auto_mute_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Auto Mute Switch" , .info = snd_pmac_boolean_mono_info,
sound/ppc/tumbler.c +6 -6
@@ -844,7 +844,7 @@ static int snapper_put_capture_source(struct snd_kcontrol *kcontrol,/* */ -static struct snd_kcontrol_new tumbler_mixers[]__devinitdata = { +static struct snd_kcontrol_new tumbler_mixers[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Master Playback Volume" , .info = tumbler_info_master_volume,
@@ -868,7 +868,7 @@ static struct snd_kcontrol_new tumbler_mixers[] __devinitdata = { }, }; -static struct snd_kcontrol_new snapper_mixers[]__devinitdata = { +static struct snd_kcontrol_new snapper_mixers[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Master Playback Volume" , .info = tumbler_info_master_volume,
@@ -901,7 +901,7 @@ static struct snd_kcontrol_new snapper_mixers[] __devinitdata = { }, }; -static struct snd_kcontrol_new tumbler_hp_sw__devinitdata = { +static struct snd_kcontrol_new tumbler_hp_sw = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Headphone Playback Switch" , .info = snd_pmac_boolean_mono_info,
@@ -909,7 +909,7 @@ static struct snd_kcontrol_new tumbler_hp_sw __devinitdata = { .put = tumbler_put_mute_switch, .private_value = TUMBLER_MUTE_HP, }; -static struct snd_kcontrol_new tumbler_speaker_sw__devinitdata = { +static struct snd_kcontrol_new tumbler_speaker_sw = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Speaker Playback Switch" , .info = snd_pmac_boolean_mono_info,
@@ -917,7 +917,7 @@ static struct snd_kcontrol_new tumbler_speaker_sw __devinitdata = { .put = tumbler_put_mute_switch, .private_value = TUMBLER_MUTE_AMP, }; -static struct snd_kcontrol_new tumbler_lineout_sw__devinitdata = { +static struct snd_kcontrol_new tumbler_lineout_sw = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Line Out Playback Switch" , .info = snd_pmac_boolean_mono_info,
@@ -925,7 +925,7 @@ static struct snd_kcontrol_new tumbler_lineout_sw __devinitdata = { .put = tumbler_put_mute_switch, .private_value = TUMBLER_MUTE_LINE, }; -static struct snd_kcontrol_new tumbler_drc_sw__devinitdata = { +static struct snd_kcontrol_new tumbler_drc_sw = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="DRC Switch" , .info = snd_pmac_boolean_mono_info,
sound/sh/aica.c +2 -2
@@ -540,7 +540,7 @@ static int aica_pcmvolume_put(struct snd_kcontrol *kcontrol,return 1 ; } -static struct snd_kcontrol_new snd_aica_pcmswitch_control__devinitdata = { +static struct snd_kcontrol_new snd_aica_pcmswitch_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Playback Switch" , .index =0 ,
@@ -549,7 +549,7 @@ static struct snd_kcontrol_new snd_aica_pcmswitch_control __devinitdata = { .put = aica_pcmswitch_put }; -static struct snd_kcontrol_new snd_aica_pcmvolume_control__devinitdata = { +static struct snd_kcontrol_new snd_aica_pcmvolume_control = { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="PCM Playback Volume" , .index =0 ,
sound/soc/au1x/db1200.c +1 -1
@@ -167,7 +167,7 @@ static struct snd_soc_card db1550_i2s_machine = {/*------------------------- COMMON PART ---------------------------*/ -static struct snd_soc_card *db1200_cards[]__devinitdata = { +static struct snd_soc_card *db1200_cards[] = { &db1200_ac97_machine, &db1200_i2s_machine, &db1300_ac97_machine,
sound/soc/fsl/mpc5200_psc_ac97.c +1 -1
@@ -318,7 +318,7 @@ static int __devexit psc_ac97_of_remove(struct platform_device *op) }/* Match table for of_platform binding */ -static struct of_device_id psc_ac97_match[]__devinitdata = { +static struct of_device_id psc_ac97_match[] = { { .compatible ="fsl,mpc5200-psc-ac97" , }, { .compatible ="fsl,mpc5200b-psc-ac97" , }, {}
sound/soc/fsl/mpc5200_psc_i2s.c +1 -1
@@ -213,7 +213,7 @@ static int __devexit psc_i2s_of_remove(struct platform_device *op) }/* Match table for of_platform binding */ -static struct of_device_id psc_i2s_match[]__devinitdata = { +static struct of_device_id psc_i2s_match[] = { { .compatible ="fsl,mpc5200-psc-i2s" , }, { .compatible ="fsl,mpc5200b-psc-i2s" , }, {}
sound/soc/tegra/tegra30_ahub.c +1 -1
@@ -299,7 +299,7 @@ static const char * const configlink_clocks[] __devinitconst = { "spdif_in", }; -struct of_dev_auxdata ahub_auxdata[]__devinitdata = { +struct of_dev_auxdata ahub_auxdata[] = {OF_DEV_AUXDATA ("nvidia,tegra30-i2s" ,0x70080300 ,"tegra30-i2s.0" ,NULL ),OF_DEV_AUXDATA ("nvidia,tegra30-i2s" ,0x70080400 ,"tegra30-i2s.1" ,NULL ),OF_DEV_AUXDATA ("nvidia,tegra30-i2s" ,0x70080500 ,"tegra30-i2s.2" ,NULL ),
sound/sparc/amd7930.c +1 -1
@@ -854,7 +854,7 @@ static int snd_amd7930_put_volume(struct snd_kcontrol *kctl, struct snd_ctl_elemreturn change; } -static struct snd_kcontrol_new amd7930_controls[]__devinitdata = { +static struct snd_kcontrol_new amd7930_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Monitor Volume" ,
sound/sparc/cs4231.c +1 -1
@@ -1498,7 +1498,7 @@ static int snd_cs4231_put_double(struct snd_kcontrol *kcontrol, .private_value = (left_reg) | ((right_reg) << 8) | ((shift_left) << 16) | \ ((shift_right) << 19) | ((mask) << 24) | ((invert) << 22) } -static struct snd_kcontrol_new snd_cs4231_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_cs4231_controls[] = {CS4231_DOUBLE ("PCM Playback Switch" ,0 ,CS4231_LEFT_OUTPUT ,CS4231_RIGHT_OUTPUT ,7 ,7 ,1 ,1 ), CS4231_DOUBLE("PCM Playback Volume", 0, CS4231_LEFT_OUTPUT,
sound/sparc/dbri.c +1 -1
@@ -2409,7 +2409,7 @@ static int snd_cs4215_put_single(struct snd_kcontrol *kcontrol, .private_value = (entry) | ((shift) << 8) | ((mask) << 16) | \ ((invert) << 24) }, -static struct snd_kcontrol_new dbri_controls[]__devinitdata = { +static struct snd_kcontrol_new dbri_controls[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Playback Volume" ,
sound/spi/at73c213.c +1 -1
@@ -665,7 +665,7 @@ static int snd_at73c213_aux_capture_volume_info( | (mask << 24) | (invert << 22)) \ } -static struct snd_kcontrol_new snd_at73c213_controls[]__devinitdata = { +static struct snd_kcontrol_new snd_at73c213_controls[] = {AT73C213_STEREO ("Master Playback Volume" ,0 ,DAC_LMPG ,DAC_RMPG ,0 ,0 ,0x1f ,1 ),AT73C213_STEREO ("Master Playback Switch" ,0 ,DAC_LMPG ,DAC_RMPG ,5 ,5 ,1 ,1 ),AT73C213_STEREO ("PCM Playback Volume" ,0 ,DAC_LLOG ,DAC_RLOG ,0 ,0 ,0x1f ,1 ),
sound/usb/6fire/control.c +3 -3
@@ -411,7 +411,7 @@ static int usb6fire_control_digital_thru_get(struct snd_kcontrol *kcontrol,return 0 ; } -static struct __devinitdata snd_kcontrol_new vol_elements[] = { +static struct snd_kcontrol_new vol_elements[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Analog Playback Volume" ,
@@ -451,7 +451,7 @@ static struct __devinitdata snd_kcontrol_new vol_elements[] = { {} }; -static struct __devinitdata snd_kcontrol_new mute_elements[] = { +static struct snd_kcontrol_new mute_elements[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Analog Playback Switch" ,
@@ -485,7 +485,7 @@ static struct __devinitdata snd_kcontrol_new mute_elements[] = { {} }; -static struct __devinitdata snd_kcontrol_new elements[] = { +static struct snd_kcontrol_new elements[] = { { .iface =SNDRV_CTL_ELEM_IFACE_MIXER , .name ="Line/Phono Capture Route" ,
sound/usb/caiaq/control.c +1 -1
@@ -137,7 +137,7 @@ static int control_put(struct snd_kcontrol *kcontrol,return 1 ; } -static struct snd_kcontrol_new kcontrol_template__devinitdata = { +static struct snd_kcontrol_new kcontrol_template = { .iface =SNDRV_CTL_ELEM_IFACE_HWDEP , .access =SNDRV_CTL_ELEM_ACCESS_READWRITE , .index =0 ,
Signature · 1 line
1.8.0
PATCH 348/493 ALSA: hda: remove DELAYED_INIT_MARK and DELAYED_INITDATA_MARK macros
In reply to a message not in the archiveThe DELAYED_INIT_MARK and DELAYED_INITDATA_MARK macros became empty when __devinit and __devinitdata were removed.
--- sound/pci/hda/hda_intel.c | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-)
sound/pci/hda/hda_intel.c +7 -15
@@ -595,15 +595,7 @@ enum {#define use_vga_switcheroo (chip) 0#endif -#if defined(SUPPORT_VGA_SWITCHEROO ) || defined(CONFIG_SND_HDA_PATCH_LOADER ) -#define DELAYED_INIT_MARK -#define DELAYED_INITDATA_MARK -#else -#define DELAYED_INIT_MARK -#define DELAYED_INITDATA_MARK -#endif - -static char *driver_short_names[] DELAYED_INITDATA_MARK = { +static char *driver_short_names[] = { [AZX_DRIVER_ICH ] ="HDA Intel" , [AZX_DRIVER_PCH ] ="HDA Intel PCH" , [AZX_DRIVER_SCH ] ="HDA Intel MID" ,
@@ -1616,12 +1608,12 @@ static int get_jackpoll_interval(struct azx *chip)*/ /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */ -static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] DELAYED_INITDATA_MARK = { +static unsigned int azx_max_codecs[AZX_NUM_DRIVERS ] = { [AZX_DRIVER_NVIDIA ] =8 , [AZX_DRIVER_TERA ] =1 , }; -static int DELAYED_INIT_MARK azx_codec_create(struct azx *chip, const char *model) +static int azx_codec_create (struct azx *chip,const char *model) {struct hda_bus_template bus_temp;int c, codecs, err;
@@ -2722,8 +2714,8 @@ static void azx_notifier_unregister(struct azx *chip)unregister_reboot_notifier (&chip->reboot_notifier); } -static int DELAYED_INIT_MARK azx_first_init(struct azx *chip); -static int DELAYED_INIT_MARK azx_probe_continue(struct azx *chip); +static int azx_first_init (struct azx *chip); +static int azx_probe_continue (struct azx *chip);#ifdef SUPPORT_VGA_SWITCHEROO static struct pci_dev *get_bound_vga (struct pci_dev *pci);
@@ -3204,7 +3196,7 @@ static int azx_create(struct snd_card *card, struct pci_dev *pci,return 0 ; } -static int DELAYED_INIT_MARK azx_first_init(struct azx *chip) +static int azx_first_init (struct azx *chip) {int dev = chip->dev_index;struct pci_dev *pci = chip->pci;
@@ -3478,7 +3470,7 @@ out_free:return err; } -static int DELAYED_INIT_MARK azx_probe_continue(struct azx *chip) +static int azx_probe_continue (struct azx *chip) {int dev = chip->dev_index;int err;
Signature · 1 line
1.8.0
PATCH 351/493 atm: remove use of __devinitconst
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitconst is no longer needed.
--- drivers/atm/eni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/atm/eni.c +1 -1
@@ -1567,7 +1567,7 @@ tx_complete++;/*--------------------------------- entries ---------------------------------*/ -static char *const media_name[]__devinitconst = { +static char *const media_name[] = {"MMF" ,"SMF" ,"MMF" ,"03?" ,/* 0- 3 */ "UTP" ,"05?" ,"06?" ,"07?" ,/* 4- 7 */ "TAXI" ,"09?" ,"10?" ,"11?" ,/* 8-11 */
Signature · 1 line
1.8.0
PATCH 357/493 i2c: remove use of __devinitconst
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinitconst is no longer needed.
--- drivers/i2c/busses/i2c-mpc.c | 4 ++-- drivers/i2c/busses/i2c-sh_mobile.c | 2 +- drivers/i2c/busses/i2c-sirf.c | 2 +- drivers/i2c/busses/i2c-tegra.c | 2 +- drivers/i2c/busses/i2c-xiic.c | 2 +- drivers/i2c/muxes/i2c-mux-pinctrl.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
drivers/i2c/busses/i2c-mpc.c +2 -2
@@ -175,7 +175,7 @@ static int i2c_wait(struct mpc_i2c *i2c, unsigned timeout, int writing) }#if defined(CONFIG_PPC_MPC52xx) || defined(CONFIG_PPC_MPC512x) -static const struct mpc_i2c_divider mpc_i2c_dividers_52xx[]__devinitconst = { +static const struct mpc_i2c_divider mpc_i2c_dividers_52xx[] = { {20 ,0x20 }, {22 ,0x21 }, {24 ,0x22 }, {26 ,0x23 }, {28 ,0x24 }, {30 ,0x01 }, {32 ,0x25 }, {34 ,0x02 }, {36, 0x26}, {40, 0x27}, {44, 0x04}, {48, 0x28},
@@ -296,7 +296,7 @@ static void mpc_i2c_setup_512x(struct device_node *node,#endif /* CONFIG_PPC_MPC512x */ #ifdef CONFIG_FSL_SOC -static const struct mpc_i2c_divider mpc_i2c_dividers_8xxx[]__devinitconst = { +static const struct mpc_i2c_divider mpc_i2c_dividers_8xxx[] = { {160 ,0x0120 }, {192 ,0x0121 }, {224 ,0x0122 }, {256 ,0x0123 }, {288 ,0x0100 }, {320 ,0x0101 }, {352 ,0x0601 }, {384 ,0x0102 }, {416, 0x0602}, {448, 0x0126}, {480, 0x0103}, {512, 0x0127},
drivers/i2c/busses/i2c-sh_mobile.c +1 -1
@@ -714,7 +714,7 @@ static const struct dev_pm_ops sh_mobile_i2c_dev_pm_ops = { .runtime_resume = sh_mobile_i2c_runtime_nop, }; -static const struct of_device_id sh_mobile_i2c_dt_ids[]__devinitconst = { +static const struct of_device_id sh_mobile_i2c_dt_ids[] = { { .compatible ="renesas,rmobile-iic" , }, {}, };
drivers/i2c/busses/i2c-sirf.c +1 -1
@@ -433,7 +433,7 @@ static const struct dev_pm_ops i2c_sirfsoc_pm_ops = { };#endif -static const struct of_device_id sirfsoc_i2c_of_match[]__devinitconst = { +static const struct of_device_id sirfsoc_i2c_of_match[] = { { .compatible ="sirf,prima2-i2c" , }, {}, };
drivers/i2c/busses/i2c-tegra.c +1 -1
@@ -642,7 +642,7 @@ static const struct tegra_i2c_hw_feature tegra30_i2c_hw = {#if defined(CONFIG_OF )/* Match table for of_platform binding */ -static const struct of_device_id tegra_i2c_of_match[]__devinitconst = { +static const struct of_device_id tegra_i2c_of_match[] = { { .compatible ="nvidia,tegra30-i2c" , .data = &tegra30_i2c_hw, }, { .compatible ="nvidia,tegra20-i2c" , .data = &tegra20_i2c_hw, }, { .compatible = "nvidia,tegra20-i2c-dvc", .data = &tegra20_i2c_hw, },
drivers/i2c/busses/i2c-xiic.c +1 -1
@@ -800,7 +800,7 @@ static int __devexit xiic_i2c_remove(struct platform_device* pdev) }#if defined(CONFIG_OF ) -static const struct of_device_id xiic_of_match[]__devinitconst = { +static const struct of_device_id xiic_of_match[] = { { .compatible ="xlnx,xps-iic-2.00.a" , }, {}, };
drivers/i2c/muxes/i2c-mux-pinctrl.c +1 -1
@@ -255,7 +255,7 @@ static int __devexit i2c_mux_pinctrl_remove(struct platform_device *pdev) }#ifdef CONFIG_OF -static const struct of_device_id i2c_mux_pinctrl_of_match[]__devinitconst = { +static const struct of_device_id i2c_mux_pinctrl_of_match[] = { { .compatible ="i2c-mux-pinctrl" , }, {}, };
Signature · 1 line
1.8.0