diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-20 15:12:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-26 08:42:53 +0100 |
commit | 2a738137b4c2dfddae03cd44f5b5f24f745c2864 (patch) | |
tree | d7ad4674222c723de564b1a20bf40e13822801cd | |
parent | usb: u132-hcd: fix potential NULL pointer dereference (diff) | |
download | linux-2a738137b4c2dfddae03cd44f5b5f24f745c2864.tar.xz linux-2a738137b4c2dfddae03cd44f5b5f24f745c2864.zip |
usb: typec: fusb302: Make fusb302_irq_work static
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@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/typec/tcpm/fusb302.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/typec/tcpm/fusb302.c b/drivers/usb/typec/tcpm/fusb302.c index 261b82900fec..457fe7a95bf7 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); |