From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>, gregkh <greg@kroah•com>,
lud <linux-usb@vger•kernel.org>
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>,
Hema HK <hemahk@ti•com>
Subject: [PATCH -next] usb/otg: fix twl6030 macro
Date: Fri, 8 Apr 2011 10:11:44 -0700 [thread overview]
Message-ID: <20110408101144.d423730d.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20110408164532.bdf2e24b.sfr@canb.auug.org.au>
From: Randy Dunlap <randy.dunlap@oracle•com>
Fix warning caused by stray semi-colon at end of macro:
drivers/usb/otg/twl6030-usb.c:183: warning: ISO C90 forbids mixed declarations and code
Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
Cc: Hema HK <hemahk@ti•com>
---
drivers/usb/otg/twl6030-usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20110408.orig/drivers/usb/otg/twl6030-usb.c
+++ linux-next-20110408/drivers/usb/otg/twl6030-usb.c
@@ -101,7 +101,7 @@ struct twl6030_usb {
bool irq_enabled;
};
-#define xceiv_to_twl(x) container_of((x), struct twl6030_usb, otg);
+#define xceiv_to_twl(x) container_of((x), struct twl6030_usb, otg)
/*-------------------------------------------------------------------------*/
prev parent reply other threads:[~2011-04-08 17:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 6:45 linux-next: Tree for April 8 Stephen Rothwell
2011-04-08 17:11 ` Randy Dunlap [this message]
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=20110408101144.d423730d.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle$(echo .)com \
--cc=greg@kroah$(echo .)com \
--cc=hemahk@ti$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=linux-usb@vger$(echo .)kernel.org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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