aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2005-11-23 06:49:21 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-12-01 02:25:26 -0500
commit6744a5069bdadd96324290d015103163a0f7a45b (patch)
treee42efb221b58c2b6d4d27074d114f31094167b6b
parentf48a8815f8535c62714cb596281d8480ba9e78ea (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>
-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 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'.