PCI: fix tlan build when CONFIG_PCI is not enabled
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 14 Feb 2011 20:27:50 +0000 (12:27 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 16 Feb 2011 19:46:09 +0000 (11:46 -0800)
commit3449248c8731e8474980856d76bbf9bac9b0682f
treeb849554444b0b0fa923ec46f7cf168590d8d6b81
parentb99af4b002e4908d1a5cdaf424529bdf1dc69768
PCI: fix tlan build when CONFIG_PCI is not enabled

When CONFIG_PCI is not enabled, tlan.c has a build error:
drivers/net/tlan.c:503: error: implicit declaration of function 'pci_wake_from_d3'

so add an inline function stub for this function to pci.h when
PCI is not enabled, similar to other stubbed PCI functions.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
include/linux/pci.h