diff options
| author | Samuel Obuch <[email protected]> | 2022-09-27 13:21:01 +0200 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2022-10-05 11:36:54 +0200 |
| commit | 078d8eb5bbb770bcf55c0f70b3da4df2c1362659 (patch) | |
| tree | bf86841ddbd8b4211525a52f5ab09df82e9342f0 /scripts | |
| parent | ef2896a4d218fe54b261ba63ea0ec3682b2eea29 (diff) | |
net: emaclite: enable for more architectures
Function ioremap_nocache seems to be defined only for MIPS and Microblaze
architectures. Therefore, the function call in the emaclite driver causes
this driver to be unusable with other architectures, for example RISC-V.
Use ioremap function instead of ioremap_nocache, and include linux/io.h
instead of asm/io.h, so that ioremap function is automatically created,
if not defined by the architecture. We can switch to the ioremap function,
as Microblaze's ioremap_nocache is just empty and in MIPS implementations
of ioremap_nocache and ioremap are the same.
Signed-off-by: Samuel Obuch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
