now that iic is a module, add "iic" dependency to iic drivers

This commit is contained in:
jmcneill 2011-10-02 19:03:56 +00:00
parent 3b6fbb4913
commit 76608f59e8
12 changed files with 36 additions and 36 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: au8522.c,v 1.5 2011/07/10 00:47:34 jmcneill Exp $ */
/* $NetBSD: au8522.c,v 1.6 2011/10/02 19:03:56 jmcneill Exp $ */
/*-
* Copyright (c) 2010 Jared D. McNeill <jmcneill@invisible.ca>
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: au8522.c,v 1.5 2011/07/10 00:47:34 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: au8522.c,v 1.6 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -419,7 +419,7 @@ au8522_get_snr(struct au8522 *au)
return 0;
}
MODULE(MODULE_CLASS_DRIVER, au8522, NULL);
MODULE(MODULE_CLASS_DRIVER, au8522, "iic");
static int
au8522_modcmd(modcmd_t cmd, void *opaque)

View File

@ -1,4 +1,4 @@
/* $NetBSD: cx24227.c,v 1.4 2011/08/05 21:19:23 jmcneill Exp $ */
/* $NetBSD: cx24227.c,v 1.5 2011/10/02 19:03:56 jmcneill Exp $ */
/*
* Copyright (c) 2008, 2011 Jonathan A. Kollasch
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cx24227.c,v 1.4 2011/08/05 21:19:23 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: cx24227.c,v 1.5 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -328,7 +328,7 @@ cx24227_init(struct cx24227 *sc)
return 0;
}
MODULE(MODULE_CLASS_DRIVER, cx24227, NULL);
MODULE(MODULE_CLASS_DRIVER, cx24227, "iic");
static int
cx24227_modcmd(modcmd_t cmd, void *priv)

View File

@ -1,4 +1,4 @@
/* $NetBSD: dbcool.c,v 1.34 2011/08/18 02:08:06 christos Exp $ */
/* $NetBSD: dbcool.c,v 1.35 2011/10/02 19:03:56 jmcneill Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.34 2011/08/18 02:08:06 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.35 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -2168,7 +2168,7 @@ dbcool_set_fan_limits(struct dbcool_softc *sc, int idx,
}
}
MODULE(MODULE_CLASS_DRIVER, dbcool, NULL);
MODULE(MODULE_CLASS_DRIVER, dbcool, "iic");
#ifdef _MODULE
#include "ioconf.c"

View File

@ -1,4 +1,4 @@
/* $NetBSD: lg3303.c,v 1.7 2011/08/09 10:54:22 jmcneill Exp $ */
/* $NetBSD: lg3303.c,v 1.8 2011/10/02 19:03:56 jmcneill Exp $ */
/*-
* Copyright 2007 Jason Harmening
@ -28,7 +28,7 @@
*/
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: lg3303.c,v 1.7 2011/08/09 10:54:22 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: lg3303.c,v 1.8 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/types.h>
#include <sys/kmem.h>
@ -351,7 +351,7 @@ lg3303_get_ucblocks(struct lg3303 *lg)
return (buffer[0] << 8) | buffer[1];
}
MODULE(MODULE_CLASS_DRIVER, lg3303, "dtv_math");
MODULE(MODULE_CLASS_DRIVER, lg3303, "iic,dtv_math");
static int
lg3303_modcmd(modcmd_t cmd, void *opaque)

View File

@ -1,4 +1,4 @@
/* $NetBSD: mt2131.c,v 1.3 2011/08/05 20:51:09 jakllsch Exp $ */
/* $NetBSD: mt2131.c,v 1.4 2011/10/02 19:03:56 jmcneill Exp $ */
/*
* Copyright (c) 2008, 2011 Jonathan A. Kollasch
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mt2131.c,v 1.3 2011/08/05 20:51:09 jakllsch Exp $");
__KERNEL_RCSID(0, "$NetBSD: mt2131.c,v 1.4 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -255,7 +255,7 @@ mt2131_write(struct mt2131_softc *sc, uint8_t a, uint8_t v)
return ret;
}
MODULE(MODULE_CLASS_DRIVER, mt2131, NULL);
MODULE(MODULE_CLASS_DRIVER, mt2131, "iic");
static int
mt2131_modcmd(modcmd_t cmd, void *priv)

View File

@ -1,4 +1,4 @@
/* $NetBSD: nxt2k.c,v 1.2 2011/07/14 23:44:34 jmcneill Exp $ */
/* $NetBSD: nxt2k.c,v 1.3 2011/10/02 19:03:56 jmcneill Exp $ */
/*
* Copyright (c) 2008, 2011 Jonathan A. Kollasch
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nxt2k.c,v 1.2 2011/07/14 23:44:34 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: nxt2k.c,v 1.3 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -830,7 +830,7 @@ nxt2k_set_modulation(struct nxt2k *nxt, fe_modulation_t modulation)
return nxt2k_fe_set_frontend(nxt, modulation);
}
MODULE(MODULE_CLASS_DRIVER, nxt2k, NULL);
MODULE(MODULE_CLASS_DRIVER, nxt2k, "iic");
static int
nxt2k_modcmd(modcmd_t cmd, void *opaque)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sdtemp.c,v 1.19 2011/07/31 15:59:45 jmcneill Exp $ */
/* $NetBSD: sdtemp.c,v 1.20 2011/10/02 19:03:56 jmcneill Exp $ */
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sdtemp.c,v 1.19 2011/07/31 15:59:45 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: sdtemp.c,v 1.20 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -548,7 +548,7 @@ sdtemp_pmf_resume(device_t dev, const pmf_qual_t *qual)
return (error == 0);
}
MODULE(MODULE_CLASS_DRIVER, sdtemp, NULL);
MODULE(MODULE_CLASS_DRIVER, sdtemp, "iic");
#ifdef _MODULE
#include "ioconf.c"

View File

@ -1,4 +1,4 @@
/* $NetBSD: spdmem_i2c.c,v 1.2 2011/08/01 03:49:52 pgoyette Exp $ */
/* $NetBSD: spdmem_i2c.c,v 1.3 2011/10/02 19:03:56 jmcneill Exp $ */
/*
* Copyright (c) 2007 Nicolas Joly
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: spdmem_i2c.c,v 1.2 2011/08/01 03:49:52 pgoyette Exp $");
__KERNEL_RCSID(0, "$NetBSD: spdmem_i2c.c,v 1.3 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -134,7 +134,7 @@ spdmem_i2c_read(struct spdmem_softc *softc, uint8_t reg)
return val;
}
MODULE(MODULE_CLASS_DRIVER, spdmem, NULL);
MODULE(MODULE_CLASS_DRIVER, spdmem, "iic");
#ifdef _MODULE
#include "ioconf.c"

View File

@ -1,4 +1,4 @@
/* $NetBSD: tvpll.c,v 1.3 2011/07/15 03:31:37 jmcneill Exp $ */
/* $NetBSD: tvpll.c,v 1.4 2011/10/02 19:03:56 jmcneill Exp $ */
/*
* Copyright (c) 2008, 2011 Jonathan A. Kollasch
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tvpll.c,v 1.3 2011/07/15 03:31:37 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: tvpll.c,v 1.4 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -154,7 +154,7 @@ tvpll_tune_dtv(struct tvpll *tvpll,
return rv;
}
MODULE(MODULE_CLASS_DRIVER, tvpll, NULL);
MODULE(MODULE_CLASS_DRIVER, tvpll, "iic");
static int
tvpll_modcmd(modcmd_t cmd, void *opaque)

View File

@ -1,4 +1,4 @@
/* $NetBSD: xc3028.c,v 1.4 2011/08/09 10:54:22 jmcneill Exp $ */
/* $NetBSD: xc3028.c,v 1.5 2011/10/02 19:03:56 jmcneill Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill@invisible.ca>
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: xc3028.c,v 1.4 2011/08/09 10:54:22 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: xc3028.c,v 1.5 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -564,7 +564,7 @@ xc3028_tune_dtv(struct xc3028 *xc, const struct dvb_frontend_parameters *params)
return 0;
}
MODULE(MODULE_CLASS_DRIVER, xc3028, NULL);
MODULE(MODULE_CLASS_DRIVER, xc3028, "iic");
static int
xc3028_modcmd(modcmd_t cmd, void *opaque)

View File

@ -1,4 +1,4 @@
/* $NetBSD: xc5k.c,v 1.3 2011/07/09 15:00:44 jmcneill Exp $ */
/* $NetBSD: xc5k.c,v 1.4 2011/10/02 19:03:56 jmcneill Exp $ */
/*-
* Copyright (c) 2010 Jared D. McNeill <jmcneill@invisible.ca>
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: xc5k.c,v 1.3 2011/07/09 15:00:44 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: xc5k.c,v 1.4 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -434,7 +434,7 @@ xc5k_get_status(struct xc5k *xc)
return festatus;
}
MODULE(MODULE_CLASS_DRIVER, xc5k, NULL);
MODULE(MODULE_CLASS_DRIVER, xc5k, "iic");
static int
xc5k_modcmd(modcmd_t cmd, void *opaque)

View File

@ -1,4 +1,4 @@
/* $NetBSD: zl10353.c,v 1.2 2011/08/29 11:16:35 jruoho Exp $ */
/* $NetBSD: zl10353.c,v 1.3 2011/10/02 19:03:56 jmcneill Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: zl10353.c,v 1.2 2011/08/29 11:16:35 jruoho Exp $");
__KERNEL_RCSID(0, "$NetBSD: zl10353.c,v 1.3 2011/10/02 19:03:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@ -650,7 +650,7 @@ zl10353_get_snr(struct zl10353 *zl)
return (val << 8) | val;
}
MODULE(MODULE_CLASS_DRIVER, zl10353, NULL);
MODULE(MODULE_CLASS_DRIVER, zl10353, "iic");
static int
zl10353_modcmd(modcmd_t cmd, void *aux)