Ver Fonte

[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>
Lennert Buytenhek há 19 anos atrás
pai
commit
6744a5069b
2 ficheiros alterados com 2 adições e 0 exclusões
  1. 1 0
      drivers/net/ixp2000/caleb.c
  2. 1 0
      drivers/net/ixp2000/pm3386.c

+ 1 - 0
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

+ 1 - 0
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'.