skge missing ifdefs.

From: Dave Jones
Date: Mon Aug 01 2005 - 16:04:47 EST


with CONFIG_PM undefined, the build breaks due to
undefined symbols.

Signed-off-by: Dave Jones <davej@xxxxxxxxxx>

-- linux-2.6.12/drivers/net/sk98lin/skge.c~ 2005-08-01 16:32:42.000000000 -0400
+++ linux-2.6.12/drivers/net/sk98lin/skge.c 2005-08-01 16:33:10.000000000 -0400
@@ -5233,8 +5233,10 @@ static struct pci_driver skge_driver = {
.id_table = skge_pci_tbl,
.probe = skge_probe_one,
.remove = __devexit_p(skge_remove_one),
+#ifdef CONFIG_PM
.suspend = skge_suspend,
.resume = skge_resume,
+#endif
};

static int __init skge_init(void)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/