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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux