Re: [PATCH] arch: sh: Include <linux/io.h> in dac.h
John Paul Adrian Glaubitz <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.comp.video.dri.devel |
|---|---|
| Message-ID | <e2c0c4686908f38858716a1dcf67df7de488fd33.camel@physik.fu-berlin.de> |
Hi Thomas, On Tue, 2025-10-28 at 18:07 +0100, Thomas Zimmermann wrote: > 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 <[email protected]> > Reported-by: kernel test robot <[email protected]> > Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ > Fixes: 243ce64b2b37 ("backlight: Do not include <linux/fb.h> in header file") > Cc: Thomas Zimmermann <[email protected]> > Cc: Daniel Thompson (RISCstar) <[email protected]> > Cc: Simona Vetter <[email protected]> > Cc: Lee Jones <[email protected]> > Cc: Daniel Thompson <[email protected]> > Cc: Jingoo Han <[email protected]> > Cc: [email protected] > --- > 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 > */ I'm just looking at this patch again and was wondering where <linux/backlight.h> is actually being pulled in on SH3. I assume this is somewhere on the driver side, no? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913