Skip to contentSkip to conversation

c99 for blkmtd

PATCH New [email protected] 1 participant 1 message Aug 11, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 c99 for blkmtd

drivers/mtd/devices/blkmtd.c +1 -4
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/mtd/devices/blkmtd.c linux-2.5/drivers/mtd/devices/blkmtd.c
@@ -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)
 {