[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190320141202.19452-1-yuehaibing@huawei.com>
Date: Wed, 20 Mar 2019 22:12:02 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <linux@...ck-us.net>, <heikki.krogerus@...ux.intel.com>,
<gregkh@...uxfoundation.org>
CC: <linux-kernel@...r.kernel.org>, <linux-usb@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] usb: typec: fusb302: Make fusb302_irq_work static
From: YueHaibing <yuehaibing@...wei.com>
Fix sparse warning:
drivers/usb/typec/tcpm/fusb302.c:1454:6: warning:
symbol 'fusb302_irq_work' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/usb/typec/tcpm/fusb302.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/typec/tcpm/fusb302.c b/drivers/usb/typec/tcpm/fusb302.c
index 261b829..457fe7a 100644
--- a/drivers/usb/typec/tcpm/fusb302.c
+++ b/drivers/usb/typec/tcpm/fusb302.c
@@ -1451,7 +1451,7 @@ static irqreturn_t fusb302_irq_intn(int irq, void *dev_id)
return IRQ_HANDLED;
}
-void fusb302_irq_work(struct work_struct *work)
+static void fusb302_irq_work(struct work_struct *work)
{
struct fusb302_chip *chip = container_of(work, struct fusb302_chip,
irq_work);
--
2.7.0
Powered by blists - more mailing lists