mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 09:13:55 +08:00
[media] ir-hix5hd2: remove writel/readl_relaxed define
Commit 9439eb3ab9
("asm-generic: io: implement relaxed
accessor macros as conditional wrappers") has added
{read,write}{b,w,l,q}_relaxed to include/asm-generic/io.h
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
d6d4c0e00f
commit
bc0c5aa35a
@ -16,14 +16,6 @@
|
|||||||
#include <linux/regmap.h>
|
#include <linux/regmap.h>
|
||||||
#include <media/rc-core.h>
|
#include <media/rc-core.h>
|
||||||
|
|
||||||
/* Allow the driver to compile on all architectures */
|
|
||||||
#ifndef writel_relaxed
|
|
||||||
# define writel_relaxed writel
|
|
||||||
#endif
|
|
||||||
#ifndef readl_relaxed
|
|
||||||
# define readl_relaxed readl
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define IR_ENABLE 0x00
|
#define IR_ENABLE 0x00
|
||||||
#define IR_CONFIG 0x04
|
#define IR_CONFIG 0x04
|
||||||
#define CNT_LEADS 0x08
|
#define CNT_LEADS 0x08
|
||||||
|
Loading…
Reference in New Issue
Block a user