forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
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;