SPARC: 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, 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: "David S. Miller" <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -87,8 +87,8 @@ static unsigned long cpu_pgsz_mask;
|
||||
|
||||
#define MAX_BANKS 32
|
||||
|
||||
static struct linux_prom64_registers pavail[MAX_BANKS] __devinitdata;
|
||||
static int pavail_ents __devinitdata;
|
||||
static struct linux_prom64_registers pavail[MAX_BANKS];
|
||||
static int pavail_ents;
|
||||
|
||||
static int cmp_p64(const void *a, const void *b)
|
||||
{
|
||||
@@ -1931,7 +1931,7 @@ void __init paging_init(void)
|
||||
printk("Booting Linux...\n");
|
||||
}
|
||||
|
||||
int __devinit page_in_phys_avail(unsigned long paddr)
|
||||
int page_in_phys_avail(unsigned long paddr)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
Reference in New Issue
Block a user