Re: [PATCH -next] via_wdt: depends on PCI

From: Wim Van Sebroeck
Date: Mon May 14 2012 - 09:15:01 EST


Hello Rancy,

> From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
>
> via_wdt is a PCI driver so it should depend on PCI so that
> it will not cause build errors.
>
> drivers/watchdog/via_wdt.c:256:1: warning: data definition has no type or storage class
> drivers/watchdog/via_wdt.c:256:1: warning: type defaults to 'int' in declaration of 'module_pci_driver'
> drivers/watchdog/via_wdt.c:256:1: warning: parameter names (without types) in function declaration
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Fix added.

Thanks,
Wim.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/