diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2005-11-23 06:49:21 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-01 02:25:26 -0500 |
commit | 6744a5069bdadd96324290d015103163a0f7a45b (patch) | |
tree | e42efb221b58c2b6d4d27074d114f31094167b6b /drivers | |
parent | f48a8815f8535c62714cb596281d8480ba9e78ea (diff) |
[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')
-rw-r--r-- | drivers/net/ixp2000/caleb.c | 1 | ||||
-rw-r--r-- | drivers/net/ixp2000/pm3386.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixp2000/caleb.c b/drivers/net/ixp2000/caleb.c index d70530adb1e2..3595e107df22 100644 --- a/drivers/net/ixp2000/caleb.c +++ b/drivers/net/ixp2000/caleb.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
15 | #include <asm/io.h> | 15 | #include <asm/io.h> |
16 | #include "caleb.h" | ||
16 | 17 | ||
17 | #define CALEB_IDLO 0x00 | 18 | #define CALEB_IDLO 0x00 |
18 | #define CALEB_IDHI 0x01 | 19 | #define CALEB_IDHI 0x01 |
diff --git a/drivers/net/ixp2000/pm3386.c b/drivers/net/ixp2000/pm3386.c index b8a59b9bedb4..267b6bd5f79f 100644 --- a/drivers/net/ixp2000/pm3386.c +++ b/drivers/net/ixp2000/pm3386.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
15 | #include <linux/netdevice.h> | 15 | #include <linux/netdevice.h> |
16 | #include <asm/io.h> | 16 | #include <asm/io.h> |
17 | #include "pm3386.h" | ||
17 | 18 | ||
18 | /* | 19 | /* |
19 | * Read from register 'reg' of PM3386 device 'pm'. | 20 | * Read from register 'reg' of PM3386 device 'pm'. |