diff options
| author | Songjun Wu <songjun.wu@linux.intel.com> | 2018-10-16 17:19:07 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-28 10:15:27 +0200 |
| commit | 61b247c253d3711411f9fe9e1c005278ed4302be (patch) | |
| tree | a15ebd0583c1aef14c080e13daf86c6044d43533 /include/linux/exportfs.h | |
| parent | 730821c42ee4f6dfc8fb65e9363bca2ff266cc52 (diff) | |
serial: lantiq: Use readl/writel instead of ltq_r32/ltq_w32
[ Upstream commit 89b8bd2082bbbccbd95b849b34ff8b6ab3056bf7 ]
Previous implementation uses platform-dependent functions
ltq_w32()/ltq_r32() to access registers. Those functions are not
available for other SoC which uses the same IP.
Change to OS provided readl()/writel() and readb()/writeb(), so
that different SoCs can use the same driver.
Signed-off-by: Songjun Wu <songjun.wu@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 306320034e8f ("serial: lantiq: add missing interrupt ack")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/exportfs.h')
0 files changed, 0 insertions, 0 deletions
