summaryrefslogtreecommitdiffstats
path: root/sys/dev/smbus
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-05-09 13:00:50 +0000
committerphk <phk@FreeBSD.org>1999-05-09 13:00:50 +0000
commite05bc3b49a62c15237c5647caa75821e3355e91d (patch)
treec5c673ce4e60f5ce4f05e870c615d1b9f1150619 /sys/dev/smbus
parent7d04d621267e45d230142f9f342d01744819ec08 (diff)
downloadFreeBSD-src-e05bc3b49a62c15237c5647caa75821e3355e91d.zip
FreeBSD-src-e05bc3b49a62c15237c5647caa75821e3355e91d.tar.gz
Unconfuse DEV_MODULE() and DEV_DRIVER_MODULE() about the difference between
a major number for a dev_t.
Diffstat (limited to 'sys/dev/smbus')
-rw-r--r--sys/dev/smbus/smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/smbus/smb.c b/sys/dev/smbus/smb.c
index 364661f..c812b40 100644
--- a/sys/dev/smbus/smb.c
+++ b/sys/dev/smbus/smb.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: smb.c,v 1.9 1999/05/07 10:09:50 phk Exp $
+ * $Id: smb.c,v 1.10 1999/05/08 21:59:08 dfr Exp $
*
*/
#include <sys/param.h>
@@ -269,7 +269,7 @@ smb_drvinit(void *unused)
}
}
-DEV_DRIVER_MODULE(smb, smbus, smb_driver, smb_devclass, CDEV_MAJOR, NODEV,
+DEV_DRIVER_MODULE(smb, smbus, smb_driver, smb_devclass, CDEV_MAJOR, NOMAJ,
smb_cdevsw, 0, 0);
SYSINIT(smbdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,smb_drvinit,NULL)
OpenPOWER on IntegriCloud