diff options
| author | Namjae Jeon <[email protected]> | 2011-10-12 15:43:14 +0000 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2011-10-27 13:11:34 +0000 |
| commit | a6029e1f75bb484c1f5bc68b6a8572e4024795bc (patch) | |
| tree | 79b8487c706e93fa4e0be28d3a4297d65851ac35 /drivers/scsi/mpt2sas/mpi/mpi2.h | |
| parent | mmc: core: Cleanup eMMC4.5 conditionals (diff) | |
| download | kernel-a6029e1f75bb484c1f5bc68b6a8572e4024795bc.tar.gz kernel-a6029e1f75bb484c1f5bc68b6a8572e4024795bc.zip | |
mmc: fix compile error when CONFIG_BLOCK is not enabled
'DISK_NAME_LEN' is undeclared when CONFIG_BLOCK is disabled; its use was
introduced via genhd.h by the general purpose partition patch.
To fix, we just add our own MAX_MMC_PART_NAME_LEN macro instead of using
DISK_NAME_LEN.
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Acked-by: Andrei Warkentin <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2.h')
0 files changed, 0 insertions, 0 deletions
