Skip to content

Commit 939fdc6

Browse files
rddunlapjbarnes993
authored andcommitted
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>
1 parent 4fb88c1 commit 939fdc6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/pci/hotplug/ibmphp_hpc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include <linux/init.h>
3636
#include <linux/mutex.h>
3737
#include <linux/sched.h>
38+
#include <linux/semaphore.h>
3839
#include <linux/kthread.h>
3940
#include "ibmphp.h"
4041

0 commit comments

Comments
 (0)