Skip to content

Commit e389623

Browse files
committed
include: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit from some include files that were previously missed. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 63a29f7 commit e389623

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎include/asm-generic/parport.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
* to devices on the PCI bus.
1111
*/
1212

13-
static int __devinit parport_pc_find_isa_ports(int autoirq, int autodma);
14-
static int __devinit parport_pc_find_nonpci_ports(int autoirq, int autodma)
13+
static int parport_pc_find_isa_ports(int autoirq, int autodma);
14+
static int parport_pc_find_nonpci_ports(int autoirq, int autodma)
1515
{
1616
#ifdef CONFIG_ISA
1717
return parport_pc_find_isa_ports(autoirq, autodma);

‎include/linux/ata_platform.h‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ struct pata_platform_info {
1515
unsigned int irq_flags;
1616
};
1717

18-
extern int __devinit __pata_platform_probe(struct device *dev,
19-
struct resource *io_res,
20-
struct resource *ctl_res,
21-
struct resource *irq_res,
22-
unsigned int ioport_shift,
23-
int __pio_mask);
18+
extern int __pata_platform_probe(struct device *dev,
19+
struct resource *io_res,
20+
struct resource *ctl_res,
21+
struct resource *irq_res,
22+
unsigned int ioport_shift,
23+
int __pio_mask);
2424

2525
/*
2626
* Marvell SATA private data

0 commit comments

Comments
 (0)