diff options
author | Guillaume Clement | 2014-07-22 22:08:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-07-23 00:03:13 +0200 |
commit | 9e4c5c2837a4bf059590ad75fa3fe0c2af93e65a (patch) | |
tree | 758aafa2fb786b04c91677b5898bf64d3adeecd4 /drivers/staging/vt6655/device_main.c | |
parent | staging: vt6655:fix warning for unexported non-static functions (diff) | |
download | kernel-qcow2-linux-9e4c5c2837a4bf059590ad75fa3fe0c2af93e65a.tar.gz kernel-qcow2-linux-9e4c5c2837a4bf059590ad75fa3fe0c2af93e65a.tar.xz kernel-qcow2-linux-9e4c5c2837a4bf059590ad75fa3fe0c2af93e65a.zip |
staging: vt6655: statify some variables
Some variables are used only in the context of their .c file, which
gives warnings with sparse.
Signed-off-by: Guillaume Clement <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device_main.c')
-rw-r--r-- | drivers/staging/vt6655/device_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 29ac1e96669f..52f10cacb425 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -260,7 +260,7 @@ static CHIP_INFO chip_info_table[] = { {0, NULL} }; -const struct pci_device_id vt6655_pci_id_table[] = { +static const struct pci_device_id vt6655_pci_id_table[] = { { PCI_VDEVICE(VIA, 0x3253), (kernel_ulong_t)chip_info_table}, { 0, } }; @@ -285,7 +285,7 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); static int device_notify_reboot(struct notifier_block *, unsigned long event, void *ptr); static int viawget_suspend(struct pci_dev *pcid, pm_message_t state); static int viawget_resume(struct pci_dev *pcid); -struct notifier_block device_notifier = { +static struct notifier_block device_notifier = { .notifier_call = device_notify_reboot, .next = NULL, .priority = 0, |