Skip to contentSkip to conversation

watchdog: add missing 0x in alim1535_wdt.c

PATCH New Rolf Eike Beer 1 participant 1 message Jul 22, 2005 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: add missing 0x in alim1535_wdt.c

Hi,

usually the device IDs are given in hex. This one is a bit strange: it is without 0x in the first place and used with it some lines later. I suspect the first one to be the wrong. Patch attached.

drivers/char/watchdog/alim1535_wdt.c +1 -1
@@ -317,7 +317,7 @@ static int ali_notify_sys(struct notifie
  */
 
 static struct pci_device_id ali_pci_tbl[] = {
-	{ PCI_VENDOR_ID_AL, 1535, PCI_ANY_ID, PCI_ANY_ID,},
+	{ PCI_VENDOR_ID_AL, 0x1535, PCI_ANY_ID, PCI_ANY_ID,},
 	{ 0, },
 };
 MODULE_DEVICE_TABLE(pci, ali_pci_tbl);