Skip to contentSkip to conversation

net/ipv6/* - compile warning cleanup

PATCH In review Stephen Biggs 1 participant 1 message Feb 10, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 24/26 net/ipv6/* - compile warning cleanup

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

sound/oss/ad1848.c +2 -0
diff -Nurdp -X dontdiff-osdl linux-2.6.11-rc3-mm-original/sound/oss/ad1848.c linux-2.6.11-rc3-mm/sound/oss/ad1848.c
@@ -2955,6 +2955,7 @@ static struct {
 	{NULL}
 };
 
+#ifdef MODULE
 static struct isapnp_device_id id_table[] __devinitdata = {
 	{	ISAPNP_VENDOR('C','M','I'), ISAPNP_DEVICE(0x0001),
 		ISAPNP_VENDOR('@','@','@'), ISAPNP_FUNCTION(0x0001), 0 },
@@ -2972,6 +2973,7 @@ static struct isapnp_device_id id_table[
 };
 
 MODULE_DEVICE_TABLE(isapnp, id_table);
+#endif /* MODULE */
 
 static struct pnp_dev *activate_dev(char *devname, char *resname, struct pnp_dev *dev)
 {

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors