hwmon: (vt8231) fix sparse warning
Changes
1 files changed · +1 −1
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| drivers/hwmon/vt8231.c | modified | +1 | −1 | View file |
drivers/hwmon/vt8231.c
View filediff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c
index 8806302..2196a84 100644
--- a/drivers/hwmon/vt8231.c
+++ b/drivers/hwmon/vt8231.c
@@ -676,7 +676,7 @@ static struct pci_driver vt8231_pci_driver = {
.probe = vt8231_pci_probe,
};
-int vt8231_probe(struct platform_device *pdev)
+static int vt8231_probe(struct platform_device *pdev)
{
struct resource *res;
struct vt8231_data *data;