mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
sparc: remove __devinit, __devexit annotations
__devinit, __devexit annotations are nops - so drop them. Likewise for __devexit_p. Adjusted alignment of arguments when needed. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4e4d78f1c1
commit
b7c13f76fd
23 changed files with 93 additions and 100 deletions
|
@ -1064,8 +1064,7 @@ static void pbm_config_busmastering(struct pci_pbm_info *pbm)
|
|||
pci_config_write8(addr, 64);
|
||||
}
|
||||
|
||||
static void __devinit schizo_scan_bus(struct pci_pbm_info *pbm,
|
||||
struct device *parent)
|
||||
static void schizo_scan_bus(struct pci_pbm_info *pbm, struct device *parent)
|
||||
{
|
||||
pbm_config_busmastering(pbm);
|
||||
pbm->is_66mhz_capable =
|
||||
|
@ -1307,9 +1306,9 @@ static void schizo_pbm_hw_init(struct pci_pbm_info *pbm)
|
|||
}
|
||||
}
|
||||
|
||||
static int __devinit schizo_pbm_init(struct pci_pbm_info *pbm,
|
||||
struct platform_device *op, u32 portid,
|
||||
int chip_type)
|
||||
static int schizo_pbm_init(struct pci_pbm_info *pbm,
|
||||
struct platform_device *op, u32 portid,
|
||||
int chip_type)
|
||||
{
|
||||
const struct linux_prom64_registers *regs;
|
||||
struct device_node *dp = op->dev.of_node;
|
||||
|
@ -1400,8 +1399,7 @@ static inline int portid_compare(u32 x, u32 y, int chip_type)
|
|||
return (x == y);
|
||||
}
|
||||
|
||||
static struct pci_pbm_info * __devinit schizo_find_sibling(u32 portid,
|
||||
int chip_type)
|
||||
static struct pci_pbm_info *schizo_find_sibling(u32 portid, int chip_type)
|
||||
{
|
||||
struct pci_pbm_info *pbm;
|
||||
|
||||
|
@ -1412,7 +1410,7 @@ static struct pci_pbm_info * __devinit schizo_find_sibling(u32 portid,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static int __devinit __schizo_init(struct platform_device *op, unsigned long chip_type)
|
||||
static int __schizo_init(struct platform_device *op, unsigned long chip_type)
|
||||
{
|
||||
struct device_node *dp = op->dev.of_node;
|
||||
struct pci_pbm_info *pbm;
|
||||
|
@ -1460,7 +1458,7 @@ out_err:
|
|||
}
|
||||
|
||||
static const struct of_device_id schizo_match[];
|
||||
static int __devinit schizo_probe(struct platform_device *op)
|
||||
static int schizo_probe(struct platform_device *op)
|
||||
{
|
||||
const struct of_device_id *match;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue