diff options
| author | Arnd Bergmann <[email protected]> | 2020-12-30 15:59:11 +0100 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2021-01-12 23:47:46 +0100 |
| commit | def8550f543e6c9101f3e1a03160b2aab8c02e8a (patch) | |
| tree | 9ab66ba5ffc17777e6bb425aecd910773fe42f0a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 121f54efc3fb9854f581fede4f719a4aef7ed5b3 (diff) | |
rtc: rx6110: fix build against modular I2C
With CONFIG_I2C=m, the #ifdef section is disabled, as shown
by this warning:
drivers/rtc/rtc-rx6110.c:314:12: error: unused function 'rx6110_probe' [-Werror,-Wunused-function]
Change the driver to use IS_ENABLED() instead, which works
for both module and built-in subsystems.
Fixes: afa819c2c6bf ("rtc: rx6110: add i2c support")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions