dm: scsi: Indent the confusing #ifdefs
These are very confusing without some sort of indentation. At some point we will be able to remove them, but for now, indent them. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
225b1da7bf
commit
099c239d68
@ -14,19 +14,19 @@
|
|||||||
#include <dm/uclass-internal.h>
|
#include <dm/uclass-internal.h>
|
||||||
|
|
||||||
#if !defined(CONFIG_DM_SCSI)
|
#if !defined(CONFIG_DM_SCSI)
|
||||||
#ifdef CONFIG_SCSI_DEV_LIST
|
# ifdef CONFIG_SCSI_DEV_LIST
|
||||||
#define SCSI_DEV_LIST CONFIG_SCSI_DEV_LIST
|
# define SCSI_DEV_LIST CONFIG_SCSI_DEV_LIST
|
||||||
#else
|
# else
|
||||||
#ifdef CONFIG_SATA_ULI5288
|
# ifdef CONFIG_SATA_ULI5288
|
||||||
|
|
||||||
#define SCSI_VEND_ID 0x10b9
|
# define SCSI_VEND_ID 0x10b9
|
||||||
#define SCSI_DEV_ID 0x5288
|
# define SCSI_DEV_ID 0x5288
|
||||||
|
|
||||||
#elif !defined(CONFIG_SCSI_AHCI_PLAT)
|
# elif !defined(CONFIG_SCSI_AHCI_PLAT)
|
||||||
#error no scsi device defined
|
# error no scsi device defined
|
||||||
#endif
|
# endif
|
||||||
#define SCSI_DEV_LIST {SCSI_VEND_ID, SCSI_DEV_ID}
|
# define SCSI_DEV_LIST {SCSI_VEND_ID, SCSI_DEV_ID}
|
||||||
#endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_PCI) && !defined(CONFIG_SCSI_AHCI_PLAT)
|
#if defined(CONFIG_PCI) && !defined(CONFIG_SCSI_AHCI_PLAT)
|
||||||
|
Loading…
Reference in New Issue
Block a user