linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: chao.xie@marvell.com (Chao Xie)
To: linux-arm-kernel@lists.infradead.org
Subject: [V4 PATCH 03/26] usb: gadget: mv_udc: fix the warning of mv_udc_remove
Date: Mon, 21 Jan 2013 05:07:21 -0500	[thread overview]
Message-ID: <1358762864-9249-4-git-send-email-chao.xie@marvell.com> (raw)
In-Reply-To: <1358762864-9249-1-git-send-email-chao.xie@marvell.com>

The __exit_p() will be NULL if MODULE is no defined.
It will cause the warning. Removing __exit_p to remove
the warning.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
---
 drivers/usb/gadget/mv_udc_core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c
index e2fdc8e..910c4b5 100644
--- a/drivers/usb/gadget/mv_udc_core.c
+++ b/drivers/usb/gadget/mv_udc_core.c
@@ -2461,7 +2461,7 @@ static void mv_udc_shutdown(struct platform_device *pdev)
 
 static struct platform_driver udc_driver = {
 	.probe		= mv_udc_probe,
-	.remove		= __exit_p(mv_udc_remove),
+	.remove		= mv_udc_remove,
 	.shutdown	= mv_udc_shutdown,
 	.driver		= {
 		.owner	= THIS_MODULE,
-- 
1.7.4.1

  parent reply	other threads:[~2013-01-21 10:07 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <xiechao.mail@gmail.com>
2013-01-21 10:07 ` [V4 PATCH 00/26] mv-usb fix and enhancement patches Chao Xie
2013-01-21 10:07   ` [V4 PATCH 01/26] usb: gadget: mv_udc: use udc_start and udc_stop functions Chao Xie
2013-01-21 10:07   ` [V4 PATCH 02/26] usb: gadget: mv_udc: use devm_xxx for probe Chao Xie
2013-01-21 10:07   ` Chao Xie [this message]
2013-01-21 10:07   ` [V4 PATCH 04/26] usb: otg: mv_otg: " Chao Xie
2013-01-21 10:07   ` [V4 PATCH 05/26] usb: host: ehci-mv: remove unused variable Chao Xie
2013-01-21 10:07   ` [V4 PATCH 06/26] usb: gadget: mv_udc: fix the value of tranceiver Chao Xie
2013-01-21 10:07   ` [V4 PATCH 07/26] usb: gadget: mv_udc: make mv_udc depends on ARCH_MMP or ARCH_PXA Chao Xie
2013-01-21 10:07   ` [V4 PATCH 08/26] usb: phy: mv_usb2: add PHY driver for marvell usb2 controller Chao Xie
2013-01-21 10:07   ` [V4 PATCH 09/26] usb: gadget: mv_udc: use PHY driver for udc Chao Xie
2013-01-21 10:07   ` [V4 PATCH 10/26] usb: ehci: ehci-mv: use PHY driver for ehci Chao Xie
2013-01-21 10:07   ` [V4 PATCH 11/26] usb: otg: mv_otg: use PHY driver for otg Chao Xie
2013-01-21 10:07   ` [V4 PATCH 12/26] arm: mmp2: change the defintion of usb devices Chao Xie
2013-01-21 10:07   ` [V4 PATCH 13/26] arm: pxa910: " Chao Xie
2013-01-21 10:07   ` [V4 PATCH 14/26] arm: brownstone: add usb support for the board Chao Xie
2013-01-21 10:07   ` [V4 PATCH 15/26] arm: ttc_dkb: add usb support Chao Xie
2013-01-21 10:07   ` [V4 PATCH 16/26] arm: mmp: remove the usb phy setting Chao Xie
2013-01-21 10:07   ` [V4 PATCH 17/26] arm: mmp: remove usb devices from pxa168 Chao Xie
2013-01-21 10:07   ` [V4 PATCH 18/26] usb: phy: mv_usb2_phy: add externel chip support Chao Xie
2013-01-21 15:51     ` Russell King - ARM Linux
2013-01-22  2:51       ` Chao Xie
2013-01-23 11:47         ` Felipe Balbi
2013-01-24  1:33           ` Chao Xie
2013-01-21 10:07   ` [V4 PATCH 19/26] usb: gadget: mv_udc: add extern " Chao Xie
2013-01-21 10:07   ` [V4 PATCH 20/26] usb: ehci: ehci-mv: " Chao Xie
2013-01-21 10:07   ` [V4 PATCH 21/26] usb: otg: mv_otg: " Chao Xie
2013-01-21 10:07   ` [V4 PATCH 22/26] arm: mmp: add extern chip support for brownstone Chao Xie
2013-01-21 10:07   ` [V4 PATCH 23/26] arm: mmp: add extern chip support for ttc_dkb Chao Xie
2013-01-21 10:07   ` [V4 PATCH 24/26] usb: gadget: mv_udc: add device tree support Chao Xie
2013-01-21 10:07   ` [V4 PATCH 25/26] usb: otg: mv_otg: " Chao Xie
2013-01-21 10:07   ` [V4 PATCH 26/26] usb: ehci: ehci-mv: " Chao Xie
2013-01-23 11:47   ` [V4 PATCH 00/26] mv-usb fix and enhancement patches Felipe Balbi

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=1358762864-9249-4-git-send-email-chao.xie@marvell.com \
    --to=chao.xie@marvell.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).