提交 b79646e3 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

[PATCH] hisax warning fixes

drivers/isdn/hisax/hfc4s8s_l1.c:317: warning: type qualifiers ignored on function return type
drivers/isdn/hisax/hfc4s8s_l1.c:329: warning: type qualifiers ignored on function return type
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 b92eac01
...@@ -312,7 +312,7 @@ wait_busy(hfc4s8s_hw * a) ...@@ -312,7 +312,7 @@ wait_busy(hfc4s8s_hw * a)
/* function to read critical counter registers that */ /* function to read critical counter registers that */
/* may be udpated by the chip during read */ /* may be udpated by the chip during read */
/******************************************************/ /******************************************************/
static volatile u_char static u_char
Read_hfc8_stable(hfc4s8s_hw * hw, int reg) Read_hfc8_stable(hfc4s8s_hw * hw, int reg)
{ {
u_char ref8; u_char ref8;
...@@ -324,7 +324,7 @@ Read_hfc8_stable(hfc4s8s_hw * hw, int reg) ...@@ -324,7 +324,7 @@ Read_hfc8_stable(hfc4s8s_hw * hw, int reg)
return in8; return in8;
} }
static volatile int static int
Read_hfc16_stable(hfc4s8s_hw * hw, int reg) Read_hfc16_stable(hfc4s8s_hw * hw, int reg)
{ {
int ref16; int ref16;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册