diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 18:15:49 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:16 -0500 |
commit | e389623a68622e3c9be440ab522fac1aa1ca3454 (patch) | |
tree | 9cf1e13b4656c1d6b79a83e6225d2496b65ac387 | |
parent | 63a29f744fe1c19742039ce7526663a98f172f7e (diff) |
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>
-rw-r--r-- | include/asm-generic/parport.h | 4 | ||||
-rw-r--r-- | include/linux/ata_platform.h | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-generic/parport.h b/include/asm-generic/parport.h index 40528cb977e8..2c9f9d4336ca 100644 --- a/include/asm-generic/parport.h +++ b/include/asm-generic/parport.h | |||
@@ -10,8 +10,8 @@ | |||
10 | * to devices on the PCI bus. | 10 | * to devices on the PCI bus. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | static int __devinit parport_pc_find_isa_ports(int autoirq, int autodma); | 13 | static int parport_pc_find_isa_ports(int autoirq, int autodma); |
14 | static int __devinit parport_pc_find_nonpci_ports(int autoirq, int autodma) | 14 | static int parport_pc_find_nonpci_ports(int autoirq, int autodma) |
15 | { | 15 | { |
16 | #ifdef CONFIG_ISA | 16 | #ifdef CONFIG_ISA |
17 | return parport_pc_find_isa_ports(autoirq, autodma); | 17 | return parport_pc_find_isa_ports(autoirq, autodma); |
diff --git a/include/linux/ata_platform.h b/include/linux/ata_platform.h index fe9989636b62..b9fde17f767c 100644 --- a/include/linux/ata_platform.h +++ b/include/linux/ata_platform.h | |||
@@ -15,12 +15,12 @@ struct pata_platform_info { | |||
15 | unsigned int irq_flags; | 15 | unsigned int irq_flags; |
16 | }; | 16 | }; |
17 | 17 | ||
18 | extern int __devinit __pata_platform_probe(struct device *dev, | 18 | extern int __pata_platform_probe(struct device *dev, |
19 | struct resource *io_res, | 19 | struct resource *io_res, |
20 | struct resource *ctl_res, | 20 | struct resource *ctl_res, |
21 | struct resource *irq_res, | 21 | struct resource *irq_res, |
22 | unsigned int ioport_shift, | 22 | unsigned int ioport_shift, |
23 | int __pio_mask); | 23 | int __pio_mask); |
24 | 24 | ||
25 | /* | 25 | /* |
26 | * Marvell SATA private data | 26 | * Marvell SATA private data |