diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-20 22:12:02 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-26 16:42:53 +0900 |
commit | 2a738137b4c2dfddae03cd44f5b5f24f745c2864 (patch) | |
tree | d7ad4674222c723de564b1a20bf40e13822801cd /drivers/usb/typec/tcpm | |
parent | 3de3dbe7c13210171ba8411e36b409a2c29c7415 (diff) | |
download | linux-2a738137b4c2dfddae03cd44f5b5f24f745c2864.tar.gz linux-2a738137b4c2dfddae03cd44f5b5f24f745c2864.tar.bz2 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>
Diffstat (limited to 'drivers/usb/typec/tcpm')
-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); |