]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IRDA] irlan: Fix compile warning when CONFIG_PROC_FS=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 7 Dec 2006 04:10:07 +0000 (20:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Dec 2006 04:10:07 +0000 (20:10 -0800)
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>
include/net/irda/irlan_filter.h

index 492dedaa8ac16dacd4cbab84484293a61e636f72..1720539ac2c1b0270e1358e6a6541e34dc709005 100644 (file)
@@ -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 */