patch-2.1.37 linux/arch/m68k/amiga/chipram.c
Next file: linux/arch/m68k/amiga/cia.c
Previous file: linux/arch/m68k/amiga/amisound.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Mon May 12 10:35:38 1997
- Orig file:
v2.1.36/linux/arch/m68k/amiga/chipram.c
- Orig date:
Fri Dec 20 01:19:57 1996
diff -u --recursive --new-file v2.1.36/linux/arch/m68k/amiga/chipram.c linux/arch/m68k/amiga/chipram.c
@@ -8,6 +8,7 @@
#include <linux/types.h>
#include <linux/kernel.h>
+#include <linux/init.h>
#include <asm/amigahw.h>
struct chip_desc {
@@ -21,19 +22,18 @@
#define DP(ptr) ((struct chip_desc *)(ptr))
u_long amiga_chip_size;
-static unsigned long chipavail; /*MILAN*/
+static unsigned long chipavail;
-/*MILAN*/
unsigned long amiga_chip_avail( void )
{
#ifdef DEBUG
- printk("chip_avail : %ld bytes\n",chipavail);
+ printk("chip_avail : %ld bytes\n",chipavail);
#endif
- return chipavail;
+ return chipavail;
}
-void amiga_chip_init (void)
+__initfunc(void amiga_chip_init (void))
{
struct chip_desc *dp;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov