diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2019-08-22 08:32:37 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-08-30 09:26:06 +0200 |
commit | 285f24102166c052401467601f713b0158923249 (patch) | |
tree | 99f332a314aaa1b10f954345e257f2900f58b7a0 /include | |
parent | 985194f2f928b9af2bdf1f9addfbf78e8b5675f0 (diff) | |
download | barebox-285f24102166c052401467601f713b0158923249.tar.gz barebox-285f24102166c052401467601f713b0158923249.tar.xz |
ata: fix mismatched header guards
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@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/ata_drive.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ata_drive.h b/include/ata_drive.h index 11685eef12..d61c6f11d4 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 */ |