Fixed a compiler warning.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1817 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2003-06-27 16:11:45 +00:00
1 parent 961e24c578
commit 2db3917eac
1 file changed
+4 -1
+4 -1
View File
@@ -233,7 +233,6 @@ static int __devinit sis645_build_dev(struct pci_dev **smbus_dev,
static int __devinit sis645_probe(struct pci_dev *dev, const struct pci_device_id *id)
{
struct pci_dev *SIS645_SMBUS_dev;
int ret;
u16 ww = 0;
if (sis645_smbus_base) {
@@ -288,6 +287,10 @@ static int __devinit sis645_probe(struct pci_dev *dev, const struct pci_device_i
if (!(SIS645_SMBUS_dev = pci_find_device(PCI_VENDOR_ID_SI,
PCI_DEVICE_ID_SI_SMBUS, NULL))) {
#ifdef CONFIG_HOTPLUG
int ret;
#endif
printk(KERN_INFO DRV_NAME ": "
"Attempting to enable SiS645 SMBus device\n");