All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH][4/26] drivers/char/watchdog/* - compile warning cleanup
@ 2005-02-10 21:34 Stephen Biggs
  0 siblings, 0 replies; only message in thread
From: Stephen Biggs @ 2005-02-10 21:34 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Mail message body --]
[-- Type: text/plain, Size: 881 bytes --]

Description: compile warning cleanup - add MODULE definition compile 
fence so MODULE_DEVICE_TABLE vars not declared when compiled into the 
kernel

Signed-off-by: Stephen Biggs <yrgrknmxpzlk@gawab.com>

diff -Nurdp -X dontdiff-osdl linux-2.6.11-rc3-mm-original/drivers/char/watchdog/alim1535_wdt.c linux-2.6.11-rc3-mm/drivers/char/watchdog/alim1535_wdt.c
--- linux-2.6.11-rc3-mm-original/drivers/char/watchdog/alim1535_wdt.c	2005-02-03 03:55:23.000000000 +0200
+++ linux-2.6.11-rc3-mm/drivers/char/watchdog/alim1535_wdt.c	2005-02-07 15:38:11.000000000 +0200
@@ -307,6 +307,7 @@ static int ali_notify_sys(struct notifie
 	return NOTIFY_DONE;
 }
 
+#ifdef MODULE
 /*
  *	Data for PCI driver interface
  *
@@ -321,6 +322,7 @@ static struct pci_device_id ali_pci_tbl[
 	{ 0, },
 };
 MODULE_DEVICE_TABLE(pci, ali_pci_tbl);
+#endif
 
 /*
  *	ali_find_watchdog	-	find a 1535 and 7101




[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

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

only message in thread, other threads:[~2005-02-10 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10 21:34 [KJ] [PATCH][4/26] drivers/char/watchdog/* - compile warning cleanup Stephen Biggs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.