Commit 6002e450 authored by David S. Miller's avatar David S. Miller

[SUNHME]: Mark SBUS probing routines as __devinit.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 675f740e
...@@ -2523,7 +2523,7 @@ static struct ethtool_ops hme_ethtool_ops = { ...@@ -2523,7 +2523,7 @@ static struct ethtool_ops hme_ethtool_ops = {
static int hme_version_printed; static int hme_version_printed;
#ifdef CONFIG_SBUS #ifdef CONFIG_SBUS
void __init quattro_get_ranges(struct quattro *qp) void __devinit quattro_get_ranges(struct quattro *qp)
{ {
struct sbus_dev *sdev = qp->quattro_dev; struct sbus_dev *sdev = qp->quattro_dev;
int err; int err;
...@@ -2539,7 +2539,7 @@ void __init quattro_get_ranges(struct quattro *qp) ...@@ -2539,7 +2539,7 @@ void __init quattro_get_ranges(struct quattro *qp)
qp->nranges = (err / sizeof(struct linux_prom_ranges)); qp->nranges = (err / sizeof(struct linux_prom_ranges));
} }
static void __init quattro_apply_ranges(struct quattro *qp, struct happy_meal *hp) static void __devinit quattro_apply_ranges(struct quattro *qp, struct happy_meal *hp)
{ {
struct sbus_dev *sdev = hp->happy_dev; struct sbus_dev *sdev = hp->happy_dev;
int rng; int rng;
...@@ -2566,7 +2566,7 @@ static void __init quattro_apply_ranges(struct quattro *qp, struct happy_meal *h ...@@ -2566,7 +2566,7 @@ static void __init quattro_apply_ranges(struct quattro *qp, struct happy_meal *h
* *
* Return NULL on failure. * Return NULL on failure.
*/ */
static struct quattro * __init quattro_sbus_find(struct sbus_dev *goal_sdev) static struct quattro * __devinit quattro_sbus_find(struct sbus_dev *goal_sdev)
{ {
struct sbus_dev *sdev; struct sbus_dev *sdev;
struct quattro *qp; struct quattro *qp;
...@@ -2618,7 +2618,7 @@ static void __init quattro_sbus_register_irqs(void) ...@@ -2618,7 +2618,7 @@ static void __init quattro_sbus_register_irqs(void)
} }
} }
static void __devexit quattro_sbus_free_irqs(void) static void quattro_sbus_free_irqs(void)
{ {
struct quattro *qp; struct quattro *qp;
...@@ -2662,7 +2662,7 @@ static struct quattro * __init quattro_pci_find(struct pci_dev *pdev) ...@@ -2662,7 +2662,7 @@ static struct quattro * __init quattro_pci_find(struct pci_dev *pdev)
#endif /* CONFIG_PCI */ #endif /* CONFIG_PCI */
#ifdef CONFIG_SBUS #ifdef CONFIG_SBUS
static int __init happy_meal_sbus_probe_one(struct sbus_dev *sdev, int is_qfe) static int __devinit happy_meal_sbus_probe_one(struct sbus_dev *sdev, int is_qfe)
{ {
struct device_node *dp = sdev->ofdev.node; struct device_node *dp = sdev->ofdev.node;
struct quattro *qp = NULL; struct quattro *qp = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment