提交 506e7beb 编写于 作者: A Adrian Bunk 提交者: David S. Miller

[IRDA]: IrDA prototype fixes

Every file should #include the header files containing the prototypes
of it's global functions.

In this case this showed that the prototype of irlan_print_filter()
was wrong which is also corrected in this patch.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8c5955d8
...@@ -28,6 +28,6 @@ ...@@ -28,6 +28,6 @@
void irlan_check_command_param(struct irlan_cb *self, char *param, void irlan_check_command_param(struct irlan_cb *self, char *param,
char *value); char *value);
void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb); void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb);
int irlan_print_filter(struct seq_file *seq, int filter_type); void irlan_print_filter(struct seq_file *seq, int filter_type);
#endif /* IRLAN_FILTER_H */ #endif /* IRLAN_FILTER_H */
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <net/irda/irlan_common.h> #include <net/irda/irlan_common.h>
#include <net/irda/irlan_filter.h>
/* /*
* Function irlan_filter_request (self, skb) * Function irlan_filter_request (self, skb)
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include <net/irda/parameters.h> #include <net/irda/parameters.h>
#include <net/irda/qos.h> #include <net/irda/qos.h>
#include <net/irda/irlap.h> #include <net/irda/irlap.h>
#include <net/irda/irlap_frame.h>
/* /*
* Maximum values of the baud rate we negociate with the other end. * Maximum values of the baud rate we negociate with the other end.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册