projects/linux·commit a022fef5

hwmon: (vt8231) fix sparse warning

a022fef5 · Mark M. Hoffman <[email protected]> · 2007-10-14 15:00:24 -04:00

Signed-off-by: Mark M. Hoffman <[email protected]>
Commit
a022fef5a2b19086b329d1cc64a5d78aa83e2908
Parents
5460a9d0

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/hwmon/vt8231.cmodified+1−1View file

drivers/hwmon/vt8231.c

View file
diff --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;