2003-08-11 16:01:32

by Dave Jones

[permalink] [raw]
Subject: [PATCH] c99 for blkmtd

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/mtd/devices/blkmtd.c linux-2.5/drivers/mtd/devices/blkmtd.c
--- bk-linus/drivers/mtd/devices/blkmtd.c 2003-08-04 01:00:26.000000000 +0100
+++ linux-2.5/drivers/mtd/devices/blkmtd.c 2003-08-06 18:59:36.000000000 +0100
@@ -287,13 +287,10 @@ static int blkmtd_readpage(mtd_raw_dev_d
return 0;
}

-
static struct address_space_operations blkmtd_aops = {
- writepage: blkmtd_writepage,
- readpage: NULL,
+ .writepage = blkmtd_writepage,
};

-
/* This is the kernel thread that empties the write queue to disk */
static int write_queue_task(void *data)
{