Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ulrich Eckhardt <eckhardt@satorlaser.com>
To: linux-mips@linux-mips.org
Cc: ralf@linux-mips.org
Subject: [patch] fix structure declarations
Date: Tue, 15 Mar 2005 08:30:23 +0100	[thread overview]
Message-ID: <200503150830.23760.eckhardt@satorlaser.com> (raw)

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 {

             reply	other threads:[~2005-03-15  7:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-15  7:30 Ulrich Eckhardt [this message]
2005-03-15 12:55 ` [patch] fix structure declarations Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200503150830.23760.eckhardt@satorlaser.com \
    --to=eckhardt@satorlaser.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox