2003-05-23 20:23:24

by Eduardo Pereira Habkost

[permalink] [raw]
Subject: [PATCH] Fix InitStruct types on cs46xx driver

Detected when using gcc 3.3.

--
Eduardo


diff -purN linux-2.4.orig/drivers/sound/cs46xx.c linux-2.4/drivers/sound/cs46xx.c
--- linux-2.4.orig/drivers/sound/cs46xx.c 2003-05-22 20:13:12.000000000 -0300
+++ linux-2.4/drivers/sound/cs46xx.c 2003-05-22 20:13:12.000000000 -0300
@@ -947,8 +947,8 @@ static void cs_play_setup(struct cs_stat

struct InitStruct
{
- u32 long off;
- u32 long val;
+ u32 off;
+ u32 val;
} InitArray[] = { {0x00000040, 0x3fc0000f},
{0x0000004c, 0x04800000},


Attachments:
(No filename) (520.00 B)
(No filename) (189.00 B)
Download all attachments