diff options
author | Alison Chaiken <alison_chaiken@mentor.com> | 2014-11-10 10:54:54 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-11-26 02:09:29 -0500 |
commit | 834b686552d9018e2d17bd56ac5361b78bcc75b8 (patch) | |
tree | 9d972e4b8a2933c3554a46886762468b8f16cedc | |
parent | a95ce92e4b289228c51114dd19f714388093d52b (diff) |
MTD: m25p80: fix inconsistency in m25p_ids compared to spi_nor_ids
As stated in a5b7616c5, "mtd: m25p80,spi-nor: Fix module aliases for
m25p80", m25p_ids[] in m25p80.c needs to be kept in sync with
spi_nor_ids[] in spi-nor.c. The change here corrects a misalignment.
(We were missing m25px80 and we had a duplicate w25q128.)
Signed-off-by: Alison Chaiken <alison_chaiken@mentor.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: <stable@vger.kernel.org> # 3.18+
-rw-r--r-- | drivers/mtd/devices/m25p80.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 35e7e9896b17..363590d5234b 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c | |||
@@ -292,11 +292,11 @@ static const struct spi_device_id m25p_ids[] = { | |||
292 | {"m45pe10"}, {"m45pe80"}, {"m45pe16"}, | 292 | {"m45pe10"}, {"m45pe80"}, {"m45pe16"}, |
293 | {"m25pe20"}, {"m25pe80"}, {"m25pe16"}, | 293 | {"m25pe20"}, {"m25pe80"}, {"m25pe16"}, |
294 | {"m25px16"}, {"m25px32"}, {"m25px32-s0"}, {"m25px32-s1"}, | 294 | {"m25px16"}, {"m25px32"}, {"m25px32-s0"}, {"m25px32-s1"}, |
295 | {"m25px64"}, | 295 | {"m25px64"}, {"m25px80"}, |
296 | {"w25x10"}, {"w25x20"}, {"w25x40"}, {"w25x80"}, | 296 | {"w25x10"}, {"w25x20"}, {"w25x40"}, {"w25x80"}, |
297 | {"w25x16"}, {"w25x32"}, {"w25q32"}, {"w25q32dw"}, | 297 | {"w25x16"}, {"w25x32"}, {"w25q32"}, {"w25q32dw"}, |
298 | {"w25x64"}, {"w25q64"}, {"w25q128"}, {"w25q80"}, | 298 | {"w25x64"}, {"w25q64"}, {"w25q80"}, {"w25q80bl"}, |
299 | {"w25q80bl"}, {"w25q128"}, {"w25q256"}, {"cat25c11"}, | 299 | {"w25q128"}, {"w25q256"}, {"cat25c11"}, |
300 | {"cat25c03"}, {"cat25c09"}, {"cat25c17"}, {"cat25128"}, | 300 | {"cat25c03"}, {"cat25c09"}, {"cat25c17"}, {"cat25128"}, |
301 | { }, | 301 | { }, |
302 | }; | 302 | }; |