public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.13-rc3-git4] watchdog: add missing 0x in alim1535_wdt.c
@ 2005-07-22  8:22 Rolf Eike Beer
  0 siblings, 0 replies; only message in thread
From: Rolf Eike Beer @ 2005-07-22  8:22 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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@sf-tec.de>

--- 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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-22  8:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-22  8:22 [PATCH 2.6.13-rc3-git4] watchdog: add missing 0x in alim1535_wdt.c Rolf Eike Beer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox