diff options
author | Arnd Bergmann <[email protected]> | 2023-07-19 21:28:18 +0200 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-07-27 23:09:55 +0200 |
commit | 766c3f8a092b4d42abd68ee0338349838430a5ee (patch) | |
tree | 6ed0e52ebfb191fe4a5f7e6c1ec531c7fbf48118 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 5789837c782771eadc9be47487067399609832e7 (diff) |
rtc: bq4802: add sparc dependency
The added HAS_IOPORT dependency might not actually be necessary as Geert
points out, but the driver is also only used on one architecture. Sparc
is also a special case here since it converts port numbers into virtual
addresses rather than having them mapped into a particular part of the
__iomem address space, so the difference is actually not important here.
Add a dependency on sparc, but allow compile-testing otherwise, to
make this clearer without anyone having to spend much time modernizing
the driver beyond that.
Reported-by: Geert Uytterhoeven <[email protected]>
Cc: David S. Miller <[email protected]>
Link: https://lore.kernel.org/all/CAMuHMdWEx0F=fNei4Bz_JPkuvoaN-+zk08h0i8KnSi_VjO615g@mail.gmail.com/
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions