All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 2048/11541] omap4-keypad.c:undefined reference to `devm_ioremap_resource'
@ 2021-02-16  2:38 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-02-16  2:38 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: kbuild-all, clang-built-linux, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 5612 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   52a0bcb60e40f30211cb5cbbb0f582ec4e91d896
commit: 60dc45119465d086724851d2a5fd09daeb3c515e [2048/11541] Input: omap4-keypad - switch to use managed resources
config: s390-randconfig-r002-20210215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install s390 cross compiling tool for clang build
        # apt-get install binutils-s390x-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=60dc45119465d086724851d2a5fd09daeb3c515e
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 60dc45119465d086724851d2a5fd09daeb3c515e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   s390x-linux-gnu-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
   irq-al-fic.c:(.init.text+0x2e): undefined reference to `of_iomap'
   s390x-linux-gnu-ld: irq-al-fic.c:(.init.text+0x224): undefined reference to `iounmap'
   s390x-linux-gnu-ld: drivers/dma/altera-msgdma.o: in function `msgdma_probe':
   altera-msgdma.c:(.text+0xb6): undefined reference to `devm_ioremap'
   s390x-linux-gnu-ld: altera-msgdma.c:(.text+0x134): undefined reference to `devm_ioremap'
   s390x-linux-gnu-ld: altera-msgdma.c:(.text+0x1b2): undefined reference to `devm_ioremap'
   s390x-linux-gnu-ld: drivers/dma/dw/platform.o: in function `dw_probe':
   platform.c:(.text+0x98): undefined reference to `devm_platform_ioremap_resource'
   s390x-linux-gnu-ld: drivers/dma/idma64.o: in function `idma64_platform_probe':
   idma64.c:(.text+0x78): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/dma/sf-pdma/sf-pdma.o: in function `sf_pdma_probe':
   sf-pdma.c:(.text+0x60): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/dma/qcom/hidma_mgmt.o: in function `hidma_mgmt_probe':
   hidma_mgmt.c:(.text+0x3de): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/dma/qcom/hidma_mgmt.o: in function `hidma_mgmt_of_populate_channels':
   hidma_mgmt.c:(.init.text+0x10e): undefined reference to `of_address_to_resource'
   s390x-linux-gnu-ld: hidma_mgmt.c:(.init.text+0x126): undefined reference to `of_address_to_resource'
   s390x-linux-gnu-ld: drivers/dma/qcom/hidma.o: in function `hidma_probe':
   hidma.c:(.text+0x3e): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: hidma.c:(.text+0x74): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/mtd/nand/raw/denali_dt.o: in function `denali_dt_probe':
   denali_dt.c:(.text+0xb2): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: denali_dt.c:(.text+0xe4): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
   cistpl.c:(.text+0x88): undefined reference to `iounmap'
   s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `pcmcia_read_cis_mem':
   cistpl.c:(.text+0x1b4): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x234): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x246): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x334): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x37c): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x3be): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x3d0): undefined reference to `ioremap'
   s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `pcmcia_write_cis_mem':
   cistpl.c:(.text+0x532): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x5ae): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x5c0): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x6ae): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x6f6): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x72e): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x740): undefined reference to `ioremap'
   s390x-linux-gnu-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
   apbps2.c:(.text+0x5a): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/input/keyboard/bcm-keypad.o: in function `bcm_kp_probe':
   bcm-keypad.c:(.text+0x362): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/input/keyboard/omap4-keypad.o: in function `omap4_keypad_probe':
>> omap4-keypad.c:(.text+0xbc): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/input/touchscreen/imx6ul_tsc.o: in function `imx6ul_tsc_probe':
   imx6ul_tsc.c:(.text+0x130): undefined reference to `devm_platform_ioremap_resource'
   s390x-linux-gnu-ld: imx6ul_tsc.c:(.text+0x14a): undefined reference to `devm_platform_ioremap_resource'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 15942 bytes --]

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

* [linux-next:master 2048/11541] omap4-keypad.c:undefined reference to `devm_ioremap_resource'
@ 2021-02-16  2:38 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-02-16  2:38 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 5691 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   52a0bcb60e40f30211cb5cbbb0f582ec4e91d896
commit: 60dc45119465d086724851d2a5fd09daeb3c515e [2048/11541] Input: omap4-keypad - switch to use managed resources
config: s390-randconfig-r002-20210215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install s390 cross compiling tool for clang build
        # apt-get install binutils-s390x-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=60dc45119465d086724851d2a5fd09daeb3c515e
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 60dc45119465d086724851d2a5fd09daeb3c515e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   s390x-linux-gnu-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
   irq-al-fic.c:(.init.text+0x2e): undefined reference to `of_iomap'
   s390x-linux-gnu-ld: irq-al-fic.c:(.init.text+0x224): undefined reference to `iounmap'
   s390x-linux-gnu-ld: drivers/dma/altera-msgdma.o: in function `msgdma_probe':
   altera-msgdma.c:(.text+0xb6): undefined reference to `devm_ioremap'
   s390x-linux-gnu-ld: altera-msgdma.c:(.text+0x134): undefined reference to `devm_ioremap'
   s390x-linux-gnu-ld: altera-msgdma.c:(.text+0x1b2): undefined reference to `devm_ioremap'
   s390x-linux-gnu-ld: drivers/dma/dw/platform.o: in function `dw_probe':
   platform.c:(.text+0x98): undefined reference to `devm_platform_ioremap_resource'
   s390x-linux-gnu-ld: drivers/dma/idma64.o: in function `idma64_platform_probe':
   idma64.c:(.text+0x78): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/dma/sf-pdma/sf-pdma.o: in function `sf_pdma_probe':
   sf-pdma.c:(.text+0x60): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/dma/qcom/hidma_mgmt.o: in function `hidma_mgmt_probe':
   hidma_mgmt.c:(.text+0x3de): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/dma/qcom/hidma_mgmt.o: in function `hidma_mgmt_of_populate_channels':
   hidma_mgmt.c:(.init.text+0x10e): undefined reference to `of_address_to_resource'
   s390x-linux-gnu-ld: hidma_mgmt.c:(.init.text+0x126): undefined reference to `of_address_to_resource'
   s390x-linux-gnu-ld: drivers/dma/qcom/hidma.o: in function `hidma_probe':
   hidma.c:(.text+0x3e): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: hidma.c:(.text+0x74): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/mtd/nand/raw/denali_dt.o: in function `denali_dt_probe':
   denali_dt.c:(.text+0xb2): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: denali_dt.c:(.text+0xe4): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
   cistpl.c:(.text+0x88): undefined reference to `iounmap'
   s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `pcmcia_read_cis_mem':
   cistpl.c:(.text+0x1b4): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x234): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x246): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x334): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x37c): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x3be): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x3d0): undefined reference to `ioremap'
   s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `pcmcia_write_cis_mem':
   cistpl.c:(.text+0x532): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x5ae): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x5c0): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x6ae): undefined reference to `ioremap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x6f6): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x72e): undefined reference to `iounmap'
   s390x-linux-gnu-ld: cistpl.c:(.text+0x740): undefined reference to `ioremap'
   s390x-linux-gnu-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
   apbps2.c:(.text+0x5a): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/input/keyboard/bcm-keypad.o: in function `bcm_kp_probe':
   bcm-keypad.c:(.text+0x362): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/input/keyboard/omap4-keypad.o: in function `omap4_keypad_probe':
>> omap4-keypad.c:(.text+0xbc): undefined reference to `devm_ioremap_resource'
   s390x-linux-gnu-ld: drivers/input/touchscreen/imx6ul_tsc.o: in function `imx6ul_tsc_probe':
   imx6ul_tsc.c:(.text+0x130): undefined reference to `devm_platform_ioremap_resource'
   s390x-linux-gnu-ld: imx6ul_tsc.c:(.text+0x14a): undefined reference to `devm_platform_ioremap_resource'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 15942 bytes --]

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

* Re: [linux-next:master 2048/11541] omap4-keypad.c:undefined reference to `devm_ioremap_resource'
  2021-02-16  2:38 ` kernel test robot
@ 2021-02-17  4:25   ` Dmitry Torokhov
  -1 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2021-02-17  4:25 UTC (permalink / raw)
  To: kernel test robot
  Cc: kbuild-all, clang-built-linux, Linux Memory Management List,
	Tony Lindgren, Scott Branden, Shawn Guo

On Tue, Feb 16, 2021 at 10:38:07AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   52a0bcb60e40f30211cb5cbbb0f582ec4e91d896
> commit: 60dc45119465d086724851d2a5fd09daeb3c515e [2048/11541] Input: omap4-keypad - switch to use managed resources
> config: s390-randconfig-r002-20210215 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # install s390 cross compiling tool for clang build
>         # apt-get install binutils-s390x-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=60dc45119465d086724851d2a5fd09daeb3c515e
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 60dc45119465d086724851d2a5fd09daeb3c515e
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 

Thanks for the report. I think the following should take care of it:


Input: add missing dependencies on CONFIG_HAS_IOMEM

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>

devm_ioremap_resource() is only guaranteed to be present if
CONFIG_HAS_IOMEM is set.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/keyboard/Kconfig    |    4 ++--
 drivers/input/serio/Kconfig       |    2 +-
 drivers/input/touchscreen/Kconfig |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 94eab82086b2..32d15809ae58 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -685,7 +685,7 @@ config KEYBOARD_OMAP
 
 config KEYBOARD_OMAP4
 	tristate "TI OMAP4+ keypad support"
-	depends on OF || ARCH_OMAP2PLUS
+	depends on (OF && HAS_IOMEM) || ARCH_OMAP2PLUS
 	select INPUT_MATRIXKMAP
 	help
 	  Say Y here if you want to use the OMAP4+ keypad.
@@ -773,7 +773,7 @@ config KEYBOARD_CAP11XX
 
 config KEYBOARD_BCM
 	tristate "Broadcom keypad driver"
-	depends on OF && HAVE_CLK
+	depends on OF && HAVE_CLK && HAS_IOMEM
 	select INPUT_MATRIXKMAP
 	default ARCH_BCM_CYGNUS
 	help
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig
index 0754744b9ce5..f39b7b3f7942 100644
--- a/drivers/input/serio/Kconfig
+++ b/drivers/input/serio/Kconfig
@@ -255,7 +255,7 @@ config SERIO_ARC_PS2
 
 config SERIO_APBPS2
 	tristate "GRLIB APBPS2 PS/2 keyboard/mouse controller"
-	depends on OF
+	depends on OF && HAS_IOMEM
 	help
 	  Say Y here if you want support for GRLIB APBPS2 peripherals used
 	  to connect to PS/2 keyboard and/or mouse.
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index cc18f54ea887..529614d364fe 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -608,7 +608,7 @@ config TOUCHSCREEN_MTOUCH
 
 config TOUCHSCREEN_IMX6UL_TSC
 	tristate "Freescale i.MX6UL touchscreen controller"
-	depends on (OF && GPIOLIB) || COMPILE_TEST
+	depends on ((OF && GPIOLIB) || COMPILE_TEST) && HAS_IOMEM
 	help
 	  Say Y here if you have a Freescale i.MX6UL, and want to
 	  use the internal touchscreen controller.


-- 
Dmitry





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

* Re: [linux-next:master 2048/11541] omap4-keypad.c:undefined reference to `devm_ioremap_resource'
@ 2021-02-17  4:25   ` Dmitry Torokhov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2021-02-17  4:25 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3779 bytes --]

On Tue, Feb 16, 2021 at 10:38:07AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   52a0bcb60e40f30211cb5cbbb0f582ec4e91d896
> commit: 60dc45119465d086724851d2a5fd09daeb3c515e [2048/11541] Input: omap4-keypad - switch to use managed resources
> config: s390-randconfig-r002-20210215 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # install s390 cross compiling tool for clang build
>         # apt-get install binutils-s390x-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=60dc45119465d086724851d2a5fd09daeb3c515e
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 60dc45119465d086724851d2a5fd09daeb3c515e
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 

Thanks for the report. I think the following should take care of it:


Input: add missing dependencies on CONFIG_HAS_IOMEM

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>

devm_ioremap_resource() is only guaranteed to be present if
CONFIG_HAS_IOMEM is set.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/keyboard/Kconfig    |    4 ++--
 drivers/input/serio/Kconfig       |    2 +-
 drivers/input/touchscreen/Kconfig |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 94eab82086b2..32d15809ae58 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -685,7 +685,7 @@ config KEYBOARD_OMAP
 
 config KEYBOARD_OMAP4
 	tristate "TI OMAP4+ keypad support"
-	depends on OF || ARCH_OMAP2PLUS
+	depends on (OF && HAS_IOMEM) || ARCH_OMAP2PLUS
 	select INPUT_MATRIXKMAP
 	help
 	  Say Y here if you want to use the OMAP4+ keypad.
@@ -773,7 +773,7 @@ config KEYBOARD_CAP11XX
 
 config KEYBOARD_BCM
 	tristate "Broadcom keypad driver"
-	depends on OF && HAVE_CLK
+	depends on OF && HAVE_CLK && HAS_IOMEM
 	select INPUT_MATRIXKMAP
 	default ARCH_BCM_CYGNUS
 	help
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig
index 0754744b9ce5..f39b7b3f7942 100644
--- a/drivers/input/serio/Kconfig
+++ b/drivers/input/serio/Kconfig
@@ -255,7 +255,7 @@ config SERIO_ARC_PS2
 
 config SERIO_APBPS2
 	tristate "GRLIB APBPS2 PS/2 keyboard/mouse controller"
-	depends on OF
+	depends on OF && HAS_IOMEM
 	help
 	  Say Y here if you want support for GRLIB APBPS2 peripherals used
 	  to connect to PS/2 keyboard and/or mouse.
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index cc18f54ea887..529614d364fe 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -608,7 +608,7 @@ config TOUCHSCREEN_MTOUCH
 
 config TOUCHSCREEN_IMX6UL_TSC
 	tristate "Freescale i.MX6UL touchscreen controller"
-	depends on (OF && GPIOLIB) || COMPILE_TEST
+	depends on ((OF && GPIOLIB) || COMPILE_TEST) && HAS_IOMEM
 	help
 	  Say Y here if you have a Freescale i.MX6UL, and want to
 	  use the internal touchscreen controller.


-- 
Dmitry



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

end of thread, other threads:[~2021-02-17  4:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16  2:38 [linux-next:master 2048/11541] omap4-keypad.c:undefined reference to `devm_ioremap_resource' kernel test robot
2021-02-16  2:38 ` kernel test robot
2021-02-17  4:25 ` Dmitry Torokhov
2021-02-17  4:25   ` Dmitry Torokhov

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.