]> err.no Git - linux-2.6/commitdiff
[PATCH] watchdog: add missing 0x in alim1535_wdt.c
authorRolf Eike Beer <eike-kernel@sf-tec.de>
Wed, 27 Jul 2005 18:43:42 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:25:51 +0000 (16:25 -0700)
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.

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/watchdog/alim1535_wdt.c

index 35dcbf8be7d1c93054a2148b0890be6a2b049b79..0715fcf0aed460650f22400da86639bb5217b5e5 100644 (file)
@@ -317,7 +317,7 @@ static int ali_notify_sys(struct notifier_block *this, unsigned long code, void
  */
 
 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);