From: Chen Gang <gang.chen.5i5j@gmail.com>
To: jkosina@suse.cz, kishon@ti.com
Cc: linux-input@vger.kernel.org, linux-next@vger.kernel.org,
liqin.linux@gmail.com, lennox.wu@gmail.com
Subject: Re: [PATCH] drivers: Kconfig: Add HAS_IOMEM dependency for allmodconfig under score architecture
Date: Tue, 10 Jun 2014 20:20:02 +0800 [thread overview]
Message-ID: <5396F7F2.7080202@gmail.com> (raw)
In-Reply-To: <5396F46A.30805@gmail.com>
On 06/10/2014 08:04 PM, Chen Gang wrote:
> When NO_IOMEM is enabled (e.g. score architecture), some drivers which
> need HAS_IOMEM need notice about it, or it will report related warning:
>
> scripts/kconfig/conf --allmodconfig Kconfig
> kernel/time/Kconfig:162:warning: range is invalid
^
Oh, sorry, this line above need be removed, it is not for this patch, if
still necessary to send patch v2 for it, please let me know, thanks.
> warning: (PINCTRL_ROCKCHIP && PINCTRL_DOVE && POWER_RESET_KEYSTONE && S3C2410_WATCHDOG && VIDEO_S5P_FIMC && PHY_SAMSUNG_USB2) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM)
> warning: (GPIO_SCH && GPIO_ICH && GPIO_VX855 && GPIO_RDC321X && IE6XX_WDT && RADIO_WL1273 && HID_SENSOR_HUB && MFD_NVEC) selects MFD_CORE which has unmet direct dependencies (HAS_IOMEM)
>
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> ---
> drivers/hid/Kconfig | 2 +-
> drivers/phy/Kconfig | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
> index 800c8b6..5e79c6a 100644
> --- a/drivers/hid/Kconfig
> +++ b/drivers/hid/Kconfig
> @@ -810,7 +810,7 @@ config HID_ZYDACRON
>
> config HID_SENSOR_HUB
> tristate "HID Sensors framework support"
> - depends on HID
> + depends on HID && HAS_IOMEM
> select MFD_CORE
> default n
> ---help---
> diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
> index 16a2f06..fcdfe7c 100644
> --- a/drivers/phy/Kconfig
> +++ b/drivers/phy/Kconfig
> @@ -122,6 +122,7 @@ config PHY_SUN4I_USB
>
> config PHY_SAMSUNG_USB2
> tristate "Samsung USB 2.0 PHY driver"
> + depends on HAS_IOMEM
> select GENERIC_PHY
> select MFD_SYSCON
> help
>
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed
next prev parent reply other threads:[~2014-06-10 12:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 12:04 [PATCH] drivers: Kconfig: Add HAS_IOMEM dependency for allmodconfig under score architecture Chen Gang
2014-06-10 12:20 ` Chen Gang [this message]
2014-06-11 8:53 ` Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5396F7F2.7080202@gmail.com \
--to=gang.chen.5i5j@gmail.com \
--cc=jkosina@suse.cz \
--cc=kishon@ti.com \
--cc=lennox.wu@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=liqin.linux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).