Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [patch] fix structure declarations
@ 2005-03-15  7:30 Ulrich Eckhardt
  2005-03-15 12:55 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Eckhardt @ 2005-03-15  7:30 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

Hi!

Seems someone went about adding C99 initialisers, but accidentally 'fixed' 
these structure definitions containing bitfields...

Uli

Index: drivers/pcmcia/au1000_generic.h
===================================================================
RCS file: /home/cvs/linux/drivers/pcmcia/au1000_generic.h,v
retrieving revision 1.5
diff -u -r1.5 au1000_generic.h
--- drivers/pcmcia/au1000_generic.h 28 Feb 2005 13:35:57 -0000 1.5
+++ drivers/pcmcia/au1000_generic.h 15 Mar 2005 07:27:41 -0000
@@ -61,21 +61,21 @@
 
 struct pcmcia_state {
   unsigned detect: 1,
-            .ready = 1,
-           .wrprot = 1,
-      bvd1: 1,
-      bvd2: 1,
+            ready: 1,
+           wrprot: 1,
+             bvd1: 1,
+             bvd2: 1,
             vs_3v: 1,
             vs_Xv: 1;
 };
 
 struct pcmcia_configure {
   unsigned sock: 8,
-            .vcc = 8,
-            .vpp = 8,
-         .output = 1,
-        .speaker = 1,
-          .reset = 1;
+            vcc: 8,
+            vpp: 8,
+         output: 1,
+        speaker: 1,
+          reset: 1;
 };
 
 struct pcmcia_irqs {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-15 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-15  7:30 [patch] fix structure declarations Ulrich Eckhardt
2005-03-15 12:55 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox