Add kernel.h to plist.h
PATCH 1/1 Add kernel.h to plist.h
On ARM plist compilation fails due to missing container_of()
So I resolved it by adding kernel.h to plist.h .
Signed-off-by Daniel Walker <[email protected]>
include/linux/plist.h +1 -0
@@ -75,6 +75,7 @@#ifndef _LINUX_PLIST_H_#define _LINUX_PLIST_H_ +#include <linux/kernel.h> #include <linux/list.h> struct plist_head {
Quoted 4 lines · Daniel Walker
On ARM plist compilation fails due to missing
container_of()So
I resolved it by addingkernel.htoplist.h.Signed-off-by Daniel Walker <[email protected]>
thanks, added.
Ingo