The header checks for ATA_DISK_H, but defines a different ATA_DISK, which would lead to compilation errors when included multiple times. Fix this. Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx> --- include/ata_drive.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ata_drive.h b/include/ata_drive.h index 11685eef12cf..d61c6f11d4d3 100644 --- a/include/ata_drive.h +++ b/include/ata_drive.h @@ -14,7 +14,7 @@ */ #ifndef ATA_DISK_H -# define ATA_DISK +#define ATA_DISK_H #include <block.h> @@ -197,4 +197,4 @@ struct device_d; * 0x400 data data 16 bit area with 1 kiB in size */ -#endif /* ATA_DISK */ +#endif /* ATA_DISK_H */ -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox