Add dependence of ARCH_HIX5HD2 to solve build error in arch like ia64
error: implicit declaration of function 'readl_relaxed' & 'writel_relaxed'
Change CONFIG_PM to CONFIG_PM_SLEEP to solve
warning: 'hix5hd2_ir_suspend' & 'hix5hd2_ir_resume' defined but not used
Reported-by: Fengguang Wu <redacted>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
---
drivers/media/rc/Kconfig | 2 +-
drivers/media/rc/ir-hix5hd2.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
From: Russell King - ARM Linux <hidden> Date: 2014-09-26 13:12:38
On Fri, Sep 26, 2014 at 08:57:30PM +0800, Zhangfei Gao wrote:
Add dependence to solve build error in arch like ia64
error: implicit declaration of function 'readl_relaxed' & 'writel_relaxed'
Change CONFIG_PM to CONFIG_PM_SLEEP to solve
warning: 'hix5hd2_ir_suspend' & 'hix5hd2_ir_resume' defined but not used
There is work currently in progress (in linux-next) to provide
asm-generic accessors for the above.
--
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
On 09/26/2014 09:12 PM, Russell King - ARM Linux wrote:
On Fri, Sep 26, 2014 at 08:57:30PM +0800, Zhangfei Gao wrote:
quoted
Add dependence to solve build error in arch like ia64
error: implicit declaration of function 'readl_relaxed' & 'writel_relaxed'
Change CONFIG_PM to CONFIG_PM_SLEEP to solve
warning: 'hix5hd2_ir_suspend' & 'hix5hd2_ir_resume' defined but not used
There is work currently in progress (in linux-next) to provide
asm-generic accessors for the above.
Thanks Russell for the info.
Have found the patch set about "asm-generic: io: implement relaxed
accessor macros as conditional wrappers".
That's great.
Thanks