summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-05-05 14:33:45 +0200
committerZheng Da <zhengda1936@gmail.com>2010-05-05 14:33:45 +0200
commitce31200bf83de4cb46fb8fb8c744c6e1c985588a (patch)
tree79e7cf2794641e594131cc57f32abf2f298efa43
parent6579834b6c314d2a40f205769b3047bf12839e88 (diff)
explicitly show pcibios_enable_device isn't implemented.
-rw-r--r--libdde_linux26/lib/src/arch/l4/pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdde_linux26/lib/src/arch/l4/pci.c b/libdde_linux26/lib/src/arch/l4/pci.c
index 1cd64a7d..c393fd3a 100644
--- a/libdde_linux26/lib/src/arch/l4/pci.c
+++ b/libdde_linux26/lib/src/arch/l4/pci.c
@@ -174,7 +174,8 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
return pcibios_enable_irq(dev);
#endif
- return 0;
+ WARN_UNIMPL;
+ return -1;
}
/*******************************************************************************************