summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-10-28 02:49:13 -0800
committerJames Bottomley <jejb@mulgrave.(none)>2002-10-28 02:49:13 -0800
commit7bc7ae9ec670ea5c8d52f82a4ced0005524dae34 (patch)
tree32cd540ac5a2fdd24d4744923facbd9a48d7d790
parent7d9f8b15585f96d7c24577af22322436896fc38d (diff)
[PATCH] A couple of compile fixes
-rw-r--r--include/linux/pnp.h4
-rw-r--r--net/ipv4/raw.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h
index 5dc223b39724..9c805c67dea7 100644
--- a/include/linux/pnp.h
+++ b/include/linux/pnp.h
@@ -245,10 +245,10 @@ struct pnp_dev *pnp_find_dev(struct pnp_card *card,
/* just in case anyone decides to call these without PnP Support Enabled */
static inline int pnp_protocol_register(struct pnp_protocol *protocol) { return -ENODEV; }
-static inline void pnp_protocol_unregister(struct pnp_protocol *protocol) { ; )
+static inline void pnp_protocol_unregister(struct pnp_protocol *protocol) { }
static inline int pnp_init_device(struct pnp_dev *dev) { return -ENODEV; }
static inline int pnp_add_device(struct pnp_dev *dev) { return -ENODEV; }
-static inline void pnp_remove_device(struct pnp_dev *dev) { ; }
+static inline void pnp_remove_device(struct pnp_dev *dev) { }
static inline struct pnp_resources * pnp_build_resource(struct pnp_dev *dev, int dependent) { return NULL; }
static inline struct pnp_resources * pnp_find_resources(struct pnp_dev *dev, int depnum) { return NULL; }
static inline int pnp_get_max_depnum(struct pnp_dev *dev) { return -ENODEV; }
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 88bbbfa460d8..02179296ae54 100644
--- a/net/ipv4/raw.c
+++ b/net/ipv4/raw.c
@@ -64,7 +64,7 @@
#include <net/raw.h>
#include <net/inet_common.h>
#include <net/checksum.h>
-#include <linux/netfilter.h>
+#include <linux/netfilter_ipv4.h>
struct sock *raw_v4_htable[RAWV4_HTABLE_SIZE];
rwlock_t raw_v4_lock = RW_LOCK_UNLOCKED;