Commit b79646e3 authored by Andrew Morton's avatar Andrew Morton Committed by 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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment