[PATCH 2.6.13-rc3-git4] watchdog: add missing 0x in alim1535_wdt.c

From: Rolf Eike Beer
Date: Fri Jul 22 2005 - 03:18:48 EST


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.

Signed-off-by: Rolf Eike Beer <eike-kernel@xxxxxxxxx>

--- a/drivers/char/watchdog/alim1535_wdt.c 2005-07-22 01:17:42.000000000 +0200
+++ b/drivers/char/watchdog/alim1535_wdt.c 2005-07-22 01:17:52.000000000 +0200
@@ -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);
-
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/