patch-2.4.0-test11 linux/drivers/sound/iwmem.h

Next file: linux/drivers/sound/maestro.c
Previous file: linux/drivers/sound/ics2101.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/drivers/sound/iwmem.h linux/drivers/sound/iwmem.h
@@ -1,5 +1,5 @@
 /*
- * sound/iwmem.c
+ * sound/iwmem.h
  *
  * DRAM size encoding table for AMD Interwave chip.
  */
@@ -9,12 +9,15 @@
  * OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
  * Version 2 (June 1991). See the "COPYING" file distributed with this software
  * for more info.
+ *
+ * Changes:
+ * Bartlomiej Zolnierkiewicz	: added __initdata to mem_decode
  */
 
 
 #define K 1024
 #define M (1024*K)
-static int mem_decode[][4] =
+static int mem_decode[][4] __initdata =
 {
 /*	Bank0	Bank1	Bank2	Bank3	Encoding bits	*/
 	{256*K,	0,	0,	0},		/*  0 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)