Skip to contentSkip to conversation

rtc: imx dryice: Must include <linux/spinlock.h>

PATCH New Jean Delvare 1 participant 1 message Dec 16, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: imx dryice: Must include <linux/spinlock.h>

Add the missing header include for spinlocks, to avoid potential build failures on specific architectures or configurations.

---
 drivers/rtc/rtc-imxdi.c |    1 +
 1 file changed, 1 insertion(+)
drivers/rtc/rtc-imxdi.c +1 -0
@@ -36,6 +36,7 @@
 #include <linux/platform_device.h>
 #include <linux/rtc.h>
 #include <linux/sched.h>
+#include <linux/spinlock.h>
 #include <linux/workqueue.h>
 
 /* DryIce Register Definitions */
Signature · 1 line
Jean Delvare