[PATCH] NET: Replace deprecated __initcall with equivalent device_initcall.

Robert P. J. Day
2008-05-11T20:50:41Z

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

diff --git a/drivers/net/arm/am79c961a.c b/drivers/net/arm/am79c961a.c
index a637910..36fdf0f 100644
--- a/drivers/net/arm/am79c961a.c
+++ b/drivers/net/arm/am79c961a.c
@@ -772,4 +772,4 @@ static int __init am79c961_init(void)
return platform_driver_register(&am79c961_driver);
}

-__initcall(am79c961_init);
+device_initcall(am79c961_init);

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================