diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2006-12-07 05:10:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-12-07 05:10:07 +0100 |
commit | 95b99a670df31ca5271f503f378e5cac3aee8f5e (patch) | |
tree | ba5c390a06e211c5198466eef7b420dfbd3e1b5a /include/net/irda | |
parent | [IrDA]: Incorrect TTP header reservation (diff) | |
download | linux-95b99a670df31ca5271f503f378e5cac3aee8f5e.tar.xz linux-95b99a670df31ca5271f503f378e5cac3aee8f5e.zip |
[IRDA] irlan: Fix compile warning when CONFIG_PROC_FS=n
include/net/irda/irlan_filter.h:31: warning: 'struct seq_file' declared inside parameter list
include/net/irda/irlan_filter.h:31: warning: its scope is only this definition or declaration, which is probably not what you want
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/irda')
-rw-r--r-- | include/net/irda/irlan_filter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/irda/irlan_filter.h b/include/net/irda/irlan_filter.h index 492dedaa8ac1..1720539ac2c1 100644 --- a/include/net/irda/irlan_filter.h +++ b/include/net/irda/irlan_filter.h @@ -28,6 +28,8 @@ void irlan_check_command_param(struct irlan_cb *self, char *param, char *value); void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb); +#ifdef CONFIG_PROC_FS void irlan_print_filter(struct seq_file *seq, int filter_type); +#endif #endif /* IRLAN_FILTER_H */ |