diff options
author | Randy Dunlap | 2010-02-04 21:12:23 +0100 |
---|---|---|
committer | Jesse Barnes | 2010-02-23 01:17:18 +0100 |
commit | 939fdc67350e15aeeea70457d5b4bc1116bb4fd5 (patch) | |
tree | e34ca471dda1b1dc37d8aecb9e8f6750747f2d99 /drivers/pci/hotplug | |
parent | PCI: Make pci_scan_slot more robust (diff) | |
download | kernel-qcow2-linux-939fdc67350e15aeeea70457d5b4bc1116bb4fd5.tar.gz kernel-qcow2-linux-939fdc67350e15aeeea70457d5b4bc1116bb4fd5.tar.xz kernel-qcow2-linux-939fdc67350e15aeeea70457d5b4bc1116bb4fd5.zip |
PCI hotplug: fix ibmphp build error
Add header file to fix build error:
drivers/pci/hotplug/ibmphp_hpc.c:135: error: implicit declaration of function 'init_MUTEX'
drivers/pci/hotplug/ibmphp_hpc.c:136: error: implicit declaration of function 'init_MUTEX_LOCKED'
drivers/pci/hotplug/ibmphp_hpc.c:797: error: implicit declaration of function 'down'
drivers/pci/hotplug/ibmphp_hpc.c:807: error: implicit declaration of function 'up'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r-- | drivers/pci/hotplug/ibmphp_hpc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/ibmphp_hpc.c b/drivers/pci/hotplug/ibmphp_hpc.c index c7084f0eca5a..1aaf3f32d3cd 100644 --- a/drivers/pci/hotplug/ibmphp_hpc.c +++ b/drivers/pci/hotplug/ibmphp_hpc.c @@ -35,6 +35,7 @@ #include <linux/init.h> #include <linux/mutex.h> #include <linux/sched.h> +#include <linux/semaphore.h> #include <linux/kthread.h> #include "ibmphp.h" |