summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2009-07-13 16:27:46 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-08-22 17:51:55 -0500
commit0fd30f77693f4fef32d30d4801cd21dcd487c2f0 (patch)
tree2eddae45943e900c08b397ac15b91903bc69cff1 /drivers/scsi/qla2xxx
parentfac3cc458fc2f8272bcc1ff1903474ff41715723 (diff)
downloadblackbird-op-linux-0fd30f77693f4fef32d30d4801cd21dcd487c2f0.tar.gz
blackbird-op-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')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h2
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;
OpenPOWER on IntegriCloud