diff options
Diffstat (limited to 'drivers/mtd/devices/mtd_dataflash.c')
-rw-r--r-- | drivers/mtd/devices/mtd_dataflash.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 0e8cbfeba11e..4a47b0266d4e 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c | |||
@@ -88,8 +88,6 @@ struct dataflash { | |||
88 | uint8_t command[4]; | 88 | uint8_t command[4]; |
89 | char name[24]; | 89 | char name[24]; |
90 | 90 | ||
91 | unsigned partitioned:1; | ||
92 | |||
93 | unsigned short page_offset; /* offset in flash address */ | 91 | unsigned short page_offset; /* offset in flash address */ |
94 | unsigned int page_size; /* of bytes per page */ | 92 | unsigned int page_size; /* of bytes per page */ |
95 | 93 | ||
@@ -881,7 +879,7 @@ static int dataflash_probe(struct spi_device *spi) | |||
881 | break; | 879 | break; |
882 | /* obsolete AT45DB1282 not (yet?) supported */ | 880 | /* obsolete AT45DB1282 not (yet?) supported */ |
883 | default: | 881 | default: |
884 | pr_debug("%s: unsupported device (%x)\n", dev_name(&spi->dev), | 882 | dev_info(&spi->dev, "unsupported device (%x)\n", |
885 | status & 0x3c); | 883 | status & 0x3c); |
886 | status = -ENODEV; | 884 | status = -ENODEV; |
887 | } | 885 | } |