[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.10.0805111649300.21823@localhost.localdomain>
Date: Sun, 11 May 2008 16:50:38 -0400 (EDT)
From: "Robert P. J. Day" <rpjday@...shcourse.ca>
To: netdev@...r.kernel.org
Subject: [PATCH] NET: Replace deprecated __initcall with equivalent
device_initcall.
Signed-off-by: Robert P. J. Day <rpjday@...shcourse.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
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists