diff options
author | Dave Jones <davej@redhat.com> | 2009-07-13 16:27:46 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 18:51:55 -0400 |
commit | 0fd30f77693f4fef32d30d4801cd21dcd487c2f0 (patch) | |
tree | 2eddae45943e900c08b397ac15b91903bc69cff1 /drivers | |
parent | fac3cc458fc2f8272bcc1ff1903474ff41715723 (diff) |
[SCSI] qla2xxx: Fix __LITTLE_ENDIAN definition warnings
On ppc64, gcc 4.4 spews lots of..
drivers/scsi/qla2xxx/qla_def.h:1485:7: warning: "__LITTLE_ENDIAN" is not defined
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 00aa48d975a6..9fde8bfe7607 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -1482,7 +1482,7 @@ typedef union { | |||
1482 | uint8_t domain; | 1482 | uint8_t domain; |
1483 | uint8_t area; | 1483 | uint8_t area; |
1484 | uint8_t al_pa; | 1484 | uint8_t al_pa; |
1485 | #elif __LITTLE_ENDIAN | 1485 | #elif defined(__LITTLE_ENDIAN) |
1486 | uint8_t al_pa; | 1486 | uint8_t al_pa; |
1487 | uint8_t area; | 1487 | uint8_t area; |
1488 | uint8_t domain; | 1488 | uint8_t domain; |