Thread (70 messages) 70 messages, 11 authors, 2014-07-31

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

flat view

From: Lennox Wu <hidden>
Date: 2014-07-13 09:27:59
Also in: linux-iio, linux-pwm, linux-watchdog, lkml

As I said before, some configurations don't make sense.
I don't think all of the patches are necessary.

Best,
Lennox

2014-07-13 11:45 GMT+08:00 Marek Vasut [off-list ref]:
On Sunday, July 13, 2014 at 05:07:10 AM, Chen Gang wrote:
quoted
Several drivers need 'devm_ioremap_resource' which need HAS_IOMEM enabled.
So let them depend on HAS_IOMEM.

The related error (with allmodconfig under score):

    MODPOST 1365 modules
  ERROR: "devm_ioremap_resource" [drivers/watchdog/tegra_wdt.ko] undefined!
  ERROR: "devm_ioremap_resource" [drivers/watchdog/of_xilinx_wdt.ko]
undefined! ERROR: "devm_ioremap_resource"
[drivers/staging/iio/adc/mxs-lradc.ko] undefined! ERROR:
"devm_ioremap_resource" [drivers/pwm/pwm-clps711x.ko] undefined! ERROR:
"devm_ioremap_resource" [drivers/input/serio/olpc_apsp.ko] undefined!
ERROR: "devm_ioremap_resource" [drivers/input/serio/arc_ps2.ko] undefined!
This stuff should go through different trees, so I'd suggest to split this into
multiple patches. Thanks for catching this stuff !

Best regards,
Marek Vasut
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help