forked from MIrrors/gasket-driver
staging: gasket: Fix inclusion of spinlock.h
linux/rwlock.h is a no-no for direct inclusion. This remains unnoticed when building against mainline due to prior inclusion of the correct header, linux/spinlock.h, but breaks over the PREEMPT-RT kernel. Would have likely been caught earlier by maintainer reviews if the driver was developed upstream. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Change-Id: Ibc98c9017895e8991633ea4fe23171b507537525
This commit is contained in:
committed by
Michael Brooks
parent
1eeffd9635
commit
4021786186
@@ -9,7 +9,7 @@
|
||||
#include <linux/device.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/printk.h>
|
||||
#include <linux/rwlock.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/version.h>
|
||||
#ifdef GASKET_KERNEL_TRACE_SUPPORT
|
||||
#define CREATE_TRACE_POINTS
|
||||
|
||||
Reference in New Issue
Block a user