diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/devices/mtd_dataflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 5db716045927..10a4f4e263fe 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c | |||
@@ -480,7 +480,7 @@ add_dataflash(struct spi_device *spi, char *name, | |||
480 | device->writesize = pagesize; | 480 | device->writesize = pagesize; |
481 | device->owner = THIS_MODULE; | 481 | device->owner = THIS_MODULE; |
482 | device->type = MTD_DATAFLASH; | 482 | device->type = MTD_DATAFLASH; |
483 | device->flags = MTD_CAP_NORFLASH; | 483 | device->flags = MTD_WRITEABLE; |
484 | device->erase = dataflash_erase; | 484 | device->erase = dataflash_erase; |
485 | device->read = dataflash_read; | 485 | device->read = dataflash_read; |
486 | device->write = dataflash_write; | 486 | device->write = dataflash_write; |