Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2019 15:48:02 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r350041 - stable/12/sys/dev/ow
Message-ID:  <201907161548.x6GFm2cw008173@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Tue Jul 16 15:48:02 2019
New Revision: 350041
URL: https://svnweb.freebsd.org/changeset/base/350041

Log:
  MFC r349428,r349433: owc_gpiobus: clean / fix up the driver module things
  
  "fdt" is removed from the driver module name as the driver does not
  require FDT and can work very well on hints based systems.
  
  A module dependency is added for gpiobus.  Without that owc cannot
  resolve symbols in gpiobus if both are loaded as kernel modules.
  
  Finally, a driver module module version is added.

Modified:
  stable/12/sys/dev/ow/owc_gpiobus.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/ow/owc_gpiobus.c
==============================================================================
--- stable/12/sys/dev/ow/owc_gpiobus.c	Tue Jul 16 15:44:53 2019	(r350040)
+++ stable/12/sys/dev/ow/owc_gpiobus.c	Tue Jul 16 15:48:02 2019	(r350041)
@@ -416,5 +416,7 @@ static driver_t owc_gpiobus_driver = {
 	sizeof(struct owc_gpiobus_softc),
 };
 
-DRIVER_MODULE(owc_gpiobus_fdt, gpiobus, owc_gpiobus_driver, owc_gpiobus_devclass, 0, 0);
-MODULE_DEPEND(owc_gpiobus_fdt, ow, 1, 1, 1);
+DRIVER_MODULE(owc_gpiobus, gpiobus, owc_gpiobus_driver, owc_gpiobus_devclass, 0, 0);
+MODULE_DEPEND(owc_gpiobus, ow, 1, 1, 1);
+MODULE_DEPEND(owc_gpiobus, gpiobus, 1, 1, 1);
+MODULE_VERSION(owc_gpiobus, 1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907161548.x6GFm2cw008173>