[SCSI] qla2xxx: Fix __LITTLE_ENDIAN definition warnings
authorDave Jones <davej@redhat.com>
Mon, 13 Jul 2009 20:27:46 +0000 (16:27 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:51:55 +0000 (17:51 -0500)
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>
drivers/scsi/qla2xxx/qla_def.h

index 00aa48d975a698edcb73b1024c3f302f29a66a6c..9fde8bfe7607f3721e7f4b8e18d1895afbb7acc9 100644 (file)
@@ -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;