All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arch: sh: Include <linux/io.h> in dac.h
@ 2025-10-28 17:07 Thomas Zimmermann
  2025-10-28 17:12 ` John Paul Adrian Glaubitz
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Thomas Zimmermann @ 2025-10-28 17:07 UTC (permalink / raw)
  To: ysato, dalias, glaubitz, lee, danielt, simona.vetter
  Cc: linux-sh, dri-devel, Thomas Zimmermann, kernel test robot,
	Jingoo Han

Include <linux/io.h> to avoid depending on <linux/backlight.h> for
including it. Declares __raw_readb() and __raw_writeb().

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202510282206.wI0HrqcK-lkp@intel.com/
Fixes: 243ce64b2b37 ("backlight: Do not include <linux/fb.h> in header file")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Daniel Thompson (RISCstar) <danielt@kernel.org>
Cc: Simona Vetter <simona.vetter@ffwll.ch>
Cc: Lee Jones <lee@kernel.org>
Cc: Daniel Thompson <danielt@kernel.org>
Cc: Jingoo Han <jingoohan1@gmail.com>
Cc: dri-devel@lists.freedesktop.org
---
This is fallout from a recent cleanup of the backlight header file. I don't
have the option of building or testing this change, though.
---
 arch/sh/include/cpu-sh3/cpu/dac.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/sh/include/cpu-sh3/cpu/dac.h b/arch/sh/include/cpu-sh3/cpu/dac.h
index fd02331608a8..323ec8570bcd 100644
--- a/arch/sh/include/cpu-sh3/cpu/dac.h
+++ b/arch/sh/include/cpu-sh3/cpu/dac.h
@@ -2,6 +2,8 @@
 #ifndef __ASM_CPU_SH3_DAC_H
 #define __ASM_CPU_SH3_DAC_H
 
+#include <linux/io.h>
+
 /*
  * Copyright (C) 2003  Andriy Skulysh
  */
-- 
2.51.1


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

end of thread, other threads:[~2026-04-13  7:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-28 17:07 [PATCH] arch: sh: Include <linux/io.h> in dac.h Thomas Zimmermann
2025-10-28 17:12 ` John Paul Adrian Glaubitz
2025-10-30 11:20 ` Daniel Thompson
2026-04-12  7:35 ` John Paul Adrian Glaubitz
2026-04-13  6:59   ` Thomas Zimmermann
2026-04-13  7:29     ` John Paul Adrian Glaubitz
2026-04-13  7:31 ` John Paul Adrian Glaubitz

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.