summaryrefslogtreecommitdiffstats
path: root/sys/dev/smbus
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-08 21:59:43 +0000
committerdfr <dfr@FreeBSD.org>1999-05-08 21:59:43 +0000
commite4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76 (patch)
treeba748fea961d917292e2b4a959796c7415efbf31 /sys/dev/smbus
parentd1098a6692d3c3b23bc870a491d680451c3356a7 (diff)
downloadFreeBSD-src-e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76.zip
FreeBSD-src-e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76.tar.gz
Move the declaration of the interrupt type from the driver structure
to the BUS_SETUP_INTR call.
Diffstat (limited to 'sys/dev/smbus')
-rw-r--r--sys/dev/smbus/smb.c3
-rw-r--r--sys/dev/smbus/smbus.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/smbus/smb.c b/sys/dev/smbus/smb.c
index 8944e5d..364661f 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.8 1999/02/14 14:36:45 nsouch Exp $
+ * $Id: smb.c,v 1.9 1999/05/07 10:09:50 phk Exp $
*
*/
#include <sys/param.h>
@@ -83,7 +83,6 @@ static device_method_t smb_methods[] = {
static driver_t smb_driver = {
"smb",
smb_methods,
- DRIVER_TYPE_MISC,
sizeof(struct smb_softc),
};
diff --git a/sys/dev/smbus/smbus.c b/sys/dev/smbus/smbus.c
index 4171a0f..cd16f3c 100644
--- a/sys/dev/smbus/smbus.c
+++ b/sys/dev/smbus/smbus.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: smbus.c,v 1.7 1999/01/09 18:08:24 nsouch Exp $
+ * $Id: smbus.c,v 1.8 1999/02/13 17:57:19 nsouch Exp $
*
*/
#include <sys/param.h>
@@ -88,7 +88,6 @@ static device_method_t smbus_methods[] = {
static driver_t smbus_driver = {
"smbus",
smbus_methods,
- DRIVER_TYPE_MISC,
sizeof(struct smbus_softc),
};
OpenPOWER on IntegriCloud