Commit 0fd30f77 authored by Dave Jones's avatar Dave Jones Committed by James Bottomley

[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: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent fac3cc45
...@@ -1482,7 +1482,7 @@ typedef union { ...@@ -1482,7 +1482,7 @@ typedef union {
uint8_t domain; uint8_t domain;
uint8_t area; uint8_t area;
uint8_t al_pa; uint8_t al_pa;
#elif __LITTLE_ENDIAN #elif defined(__LITTLE_ENDIAN)
uint8_t al_pa; uint8_t al_pa;
uint8_t area; uint8_t area;
uint8_t domain; uint8_t domain;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment