POWERPC: drivers: 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, __devexit_p, __devinitdata, __devinitconst, and __devexit from these drivers. 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> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -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);
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user