diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-04-04 21:42:48 -0400 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-04-22 07:06:38 -0400 |
commit | 297d40560bc8f474adbb43178e3118321fa702ea (patch) | |
tree | 1a173167cfbc106a1204d36f7b9c2eeba92fae81 | |
parent | fa372a51cb5f93800f711473e5a36e0e0c9a8f00 (diff) |
mmc: card.h: Use NULL instead of 0 for END_FIXUP
Fix the following sparse warnings:
drivers/mmc/card/block.c:2421:9: warning: Using plain integer as NULL pointer
drivers/mmc/core/quirks.c:69:9: warning: Using plain integer as NULL pointer
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
-rw-r--r-- | include/linux/mmc/card.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index b73027298b3a..aa7e57f60fb2 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h | |||
@@ -353,7 +353,7 @@ struct mmc_fixup { | |||
353 | #define CID_OEMID_ANY ((unsigned short) -1) | 353 | #define CID_OEMID_ANY ((unsigned short) -1) |
354 | #define CID_NAME_ANY (NULL) | 354 | #define CID_NAME_ANY (NULL) |
355 | 355 | ||
356 | #define END_FIXUP { 0 } | 356 | #define END_FIXUP { NULL } |
357 | 357 | ||
358 | #define _FIXUP_EXT(_name, _manfid, _oemid, _rev_start, _rev_end, \ | 358 | #define _FIXUP_EXT(_name, _manfid, _oemid, _rev_start, _rev_end, \ |
359 | _cis_vendor, _cis_device, \ | 359 | _cis_vendor, _cis_device, \ |