Skip to contentSkip to conversation

mtdchar.c

DISCUSSION Amy Fong 1 participant 1 message Sep 28, 2000 Memory technology devices (MTD)

lore
Share & tools
lore

Amy Fong

author
#0 lore raw

mtd/kernel/mtdchar.c hasn't been able to compile with 2.2 series since 1.9 - in static struct file_operations mtd_fops, the field owner should be conditionally compiled.

static struct file_operations mtd_fops = {
#if LINUX_VERSION_CODE > 0x20300
owner: THIS_MODULE,
#endif
...

afong@ifurita:~/mtd/2.2.18/linux/drivers/mtd$ diff mtdchar.c ~/mtd/mtd/kernel/mtdchar.c 

379d378
< #if LINUX_VERSION_CODE > 0x20300
381d379
< #endif

--
We Suzaku no seishi are too stupid to give up!
(Tasuki - Fushigi Yuugi)

Amy Fong ([email protected])

To unsubscribe, send "unsubscribe mtd" to [email protected]