skge missing ifdefs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Dave Jones <[email protected]>

-- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux