summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixp2000
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2005-11-23 12:49:21 +0100
committerJeff Garzik <jgarzik@pobox.com>2005-12-01 02:25:26 -0500
commit6744a5069bdadd96324290d015103163a0f7a45b (patch)
treee42efb221b58c2b6d4d27074d114f31094167b6b /drivers/net/ixp2000
parentf48a8815f8535c62714cb596281d8480ba9e78ea (diff)
downloadop-kernel-dev-6744a5069bdadd96324290d015103163a0f7a45b.zip
op-kernel-dev-6744a5069bdadd96324290d015103163a0f7a45b.tar.gz
[PATCH] caleb/pm3386: include proper header files
Make caleb.c and pm3386.c include their own header files, to catch incorrect prototype definitions. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/ixp2000')
-rw-r--r--drivers/net/ixp2000/caleb.c1
-rw-r--r--drivers/net/ixp2000/pm3386.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixp2000/caleb.c b/drivers/net/ixp2000/caleb.c
index d70530a..3595e10 100644
--- a/drivers/net/ixp2000/caleb.c
+++ b/drivers/net/ixp2000/caleb.c
@@ -13,6 +13,7 @@
#include <linux/module.h>
#include <linux/delay.h>
#include <asm/io.h>
+#include "caleb.h"
#define CALEB_IDLO 0x00
#define CALEB_IDHI 0x01
diff --git a/drivers/net/ixp2000/pm3386.c b/drivers/net/ixp2000/pm3386.c
index b8a59b9..267b6bd 100644
--- a/drivers/net/ixp2000/pm3386.c
+++ b/drivers/net/ixp2000/pm3386.c
@@ -14,6 +14,7 @@
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <asm/io.h>
+#include "pm3386.h"
/*
* Read from register 'reg' of PM3386 device 'pm'.
OpenPOWER on IntegriCloud