浏览代码

irda: replace __inline with inline

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Harvey Harrison 17 年之前
父节点
当前提交
4eb329a5aa
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      include/net/irda/irttp.h

+ 3 - 3
include/net/irda/irttp.h

@@ -169,17 +169,17 @@ int irttp_disconnect_request(struct tsap_cb *self, struct sk_buff *skb,
 void irttp_flow_request(struct tsap_cb *self, LOCAL_FLOW flow);
 void irttp_flow_request(struct tsap_cb *self, LOCAL_FLOW flow);
 struct tsap_cb *irttp_dup(struct tsap_cb *self, void *instance);
 struct tsap_cb *irttp_dup(struct tsap_cb *self, void *instance);
 
 
-static __inline __u32 irttp_get_saddr(struct tsap_cb *self)
+static inline __u32 irttp_get_saddr(struct tsap_cb *self)
 {
 {
 	return irlmp_get_saddr(self->lsap);
 	return irlmp_get_saddr(self->lsap);
 }
 }
 
 
-static __inline __u32 irttp_get_daddr(struct tsap_cb *self)
+static inline __u32 irttp_get_daddr(struct tsap_cb *self)
 {
 {
 	return irlmp_get_daddr(self->lsap);
 	return irlmp_get_daddr(self->lsap);
 }
 }
 
 
-static __inline __u32 irttp_get_max_seg_size(struct tsap_cb *self)
+static inline __u32 irttp_get_max_seg_size(struct tsap_cb *self)
 {
 {
 	return self->max_seg_size;
 	return self->max_seg_size;
 }
 }