All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/9] staging/atomisp: include linux/io.h where needed
@ 2017-03-20  9:32 Arnd Bergmann
  2017-03-20  9:32 ` [PATCH 2/9] staging/atomisp: fix empty-body warning Arnd Bergmann
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Arnd Bergmann @ 2017-03-20  9:32 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Greg Kroah-Hartman, Alan Cox, linux-media, devel, linux-kernel,
	Arnd Bergmann

The plat_clock implementation fails ot build in some configurations:

platform/clock/vlv2_plat_clock.c: In function 'vlv2_plat_set_clock_freq':
platform/clock/vlv2_plat_clock.c:88:2: error: implicit declaration of function 'writel';did you mean 'wrmsrl'? [-Werror=implicit-function-declaration]
platform/clock/vlv2_plat_clock.c:88:12: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration]
platform/clock/vlv2_plat_clock.c: In function 'vlv2_plat_clk_probe':
platform/clock/vlv2_plat_clock.c:193:13: error: implicit declaration of function 'ioremap_nocache' [-Werror=implicit-function-declaration]
platform/clock/vlv2_plat_clock.c:193:11: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
platform/clock/vlv2_plat_clock.c: In function 'vlv2_plat_clk_remove':
platform/clock/vlv2_plat_clock.c:209:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]

This includes the required header file.

Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c b/drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c
index a8ca93dbfbb5..25e939c50aef 100644
--- a/drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c
+++ b/drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c
@@ -20,6 +20,7 @@
  */
 
 #include <linux/err.h>
+#include <linux/io.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include "../../include/linux/vlv2_plat_clock.h"
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-03-20 16:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-20  9:32 [PATCH 1/9] staging/atomisp: include linux/io.h where needed Arnd Bergmann
2017-03-20  9:32 ` [PATCH 2/9] staging/atomisp: fix empty-body warning Arnd Bergmann
2017-03-20  9:32 ` [PATCH 3/9] stating/atomisp: fix -Wold-style-definition warning Arnd Bergmann
2017-03-20 15:05   ` Stephen Hemminger
2017-03-20 16:29     ` Arnd Bergmann
2017-03-20  9:32 ` [PATCH 4/9] staging/atomisp: remove sh_css_lace_stat code Arnd Bergmann
2017-03-20  9:32 ` [PATCH 5/9] staging/atomisp: add VIDEO_V4L2_SUBDEV_API dependency Arnd Bergmann
2017-03-20  9:32 ` [PATCH 6/9] staging/atomisp: add PCI dependency Arnd Bergmann
2017-03-20  9:32 ` [PATCH 7/9] staging/atomisp: add ACPI dependency Arnd Bergmann
2017-03-20  9:32 ` [PATCH 8/9] staging/atomisp: add MEDIA_CONTROLLER dependency globally Arnd Bergmann
2017-03-20  9:32 ` [PATCH 9/9] staging/atomisp: add EFI dependency Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.