diff options
author | Dave Jones <davej@redhat.com> | 2009-07-13 22:27:46 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-23 00:51:55 +0200 |
commit | 0fd30f77693f4fef32d30d4801cd21dcd487c2f0 (patch) | |
tree | 2eddae45943e900c08b397ac15b91903bc69cff1 /drivers/scsi/qla2xxx/qla_def.h | |
parent | [SCSI] bnx2i: register given device with cnic if shost != NULL in ep_connect() (diff) | |
download | linux-0fd30f77693f4fef32d30d4801cd21dcd487c2f0.tar.xz linux-0fd30f77693f4fef32d30d4801cd21dcd487c2f0.zip |
[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/scsi/qla2xxx/qla_def.h')
-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 { uint8_t domain; uint8_t area; uint8_t al_pa; -#elif __LITTLE_ENDIAN +#elif defined(__LITTLE_ENDIAN) uint8_t al_pa; uint8_t area; uint8_t domain; |