hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/mtd/devices/mtdram.c
....@@ -24,14 +24,12 @@
2424 #define MTDRAM_TOTAL_SIZE (total_size * 1024)
2525 #define MTDRAM_ERASE_SIZE (erase_size * 1024)
2626
27
-#ifdef MODULE
2827 module_param(total_size, ulong, 0);
2928 MODULE_PARM_DESC(total_size, "Total device size in KiB");
3029 module_param(erase_size, ulong, 0);
3130 MODULE_PARM_DESC(erase_size, "Device erase block size in KiB");
3231 module_param(writebuf_size, ulong, 0);
3332 MODULE_PARM_DESC(writebuf_size, "Device write buf size in Bytes (Default: 64)");
34
-#endif
3533
3634 // We could store these in the mtd structure, but we only support 1 device..
3735 static struct mtd_info *mtd_info;