svn commit: r230992 - in head/sys/powerpc: ofw ps3

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sat Feb 4 19:50:27 UTC 2012


Author: nwhitehorn
Date: Sat Feb  4 19:50:26 2012
New Revision: 230992
URL: http://svn.freebsd.org/changeset/base/230992

Log:
  Avoid warnings about duplicate modules.
  
  MFC after:	2 weeks

Modified:
  head/sys/powerpc/ofw/ofw_syscons.c
  head/sys/powerpc/ps3/ps3_syscons.c

Modified: head/sys/powerpc/ofw/ofw_syscons.c
==============================================================================
--- head/sys/powerpc/ofw/ofw_syscons.c	Sat Feb  4 18:14:49 2012	(r230991)
+++ head/sys/powerpc/ofw/ofw_syscons.c	Sat Feb  4 19:50:26 2012	(r230992)
@@ -984,7 +984,7 @@ static driver_t ofwfb_sc_driver = {
 
 static devclass_t	sc_devclass;
 
-DRIVER_MODULE(sc, nexus, ofwfb_sc_driver, sc_devclass, 0, 0);
+DRIVER_MODULE(ofwfb, nexus, ofwfb_sc_driver, sc_devclass, 0, 0);
 
 /*
  * Define a stub keyboard driver in case one hasn't been

Modified: head/sys/powerpc/ps3/ps3_syscons.c
==============================================================================
--- head/sys/powerpc/ps3/ps3_syscons.c	Sat Feb  4 18:14:49 2012	(r230991)
+++ head/sys/powerpc/ps3/ps3_syscons.c	Sat Feb  4 19:50:26 2012	(r230992)
@@ -749,7 +749,7 @@ static driver_t ps3fb_sc_driver = {
 
 static devclass_t	sc_devclass;
 
-DRIVER_MODULE(sc, nexus, ps3fb_sc_driver, sc_devclass, 0, 0);
+DRIVER_MODULE(ps3fb, nexus, ps3fb_sc_driver, sc_devclass, 0, 0);
 
 /*
  * Define a stub keyboard driver in case one hasn't been


More information about the svn-src-all mailing list