lkml.org 
[lkml]   [2014]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] iio: adc: Fix build error discovered by 0-day build bot
Date
From: Johannes Thumshirn <morbidrsa@gmail.com>

men_z188_adc needs to include linux/io.h. This fixes a build error
discovered by 0-day buid bot

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@men.de>
---
drivers/iio/adc/men_z188_adc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/men_z188_adc.c b/drivers/iio/adc/men_z188_adc.c
index 7036503..6989c16 100644
--- a/drivers/iio/adc/men_z188_adc.c
+++ b/drivers/iio/adc/men_z188_adc.c
@@ -12,6 +12,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mcb.h>
+#include <linux/io.h>
#include <linux/iio/iio.h>

#define Z188_ADC_MAX_CHAN 8
--
1.8.5.3


\
 
 \ /
  Last update: 2014-03-03 22:21    [W:0.157 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site