Skip to content

Commit b79646e

Browse files
Andrew MortonLinus Torvalds
authored andcommitted
[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: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent b92eac0 commit b79646e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/isdn/hisax/hfc4s8s_l1.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ wait_busy(hfc4s8s_hw * a)
312312
/* function to read critical counter registers that */
313313
/* may be udpated by the chip during read */
314314
/******************************************************/
315-
static volatile u_char
315+
static u_char
316316
Read_hfc8_stable(hfc4s8s_hw * hw, int reg)
317317
{
318318
u_char ref8;
@@ -324,7 +324,7 @@ Read_hfc8_stable(hfc4s8s_hw * hw, int reg)
324324
return in8;
325325
}
326326

327-
static volatile int
327+
static int
328328
Read_hfc16_stable(hfc4s8s_hw * hw, int reg)
329329
{
330330
int ref16;

0 commit comments

Comments
 (0)