From: Mark M. Hoffman Date: Sun, 14 Oct 2007 19:00:24 +0000 (-0400) Subject: hwmon: (vt8231) fix sparse warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a022fef5a2b19086b329d1cc64a5d78aa83e2908;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git hwmon: (vt8231) fix sparse warning Signed-off-by: Mark M. Hoffman --- diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c index 8806302b5f30..2196a84603f5 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;