Commit 820ef3aa authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: davinci: vpbe_osd: mark read reg function as __always_unused

Such function is currently unused, but could be needed in the
future. So, keep it, marking it as __always_unused, in order to
avoid a clang W=1 error.
Reviewed-by: default avatarLad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 1804eba4
...@@ -45,7 +45,7 @@ static const struct platform_device_id vpbe_osd_devtype[] = { ...@@ -45,7 +45,7 @@ static const struct platform_device_id vpbe_osd_devtype[] = {
MODULE_DEVICE_TABLE(platform, vpbe_osd_devtype); MODULE_DEVICE_TABLE(platform, vpbe_osd_devtype);
/* register access routines */ /* register access routines */
static inline u32 osd_read(struct osd_state *sd, u32 offset) static inline u32 __always_unused osd_read(struct osd_state *sd, u32 offset)
{ {
struct osd_state *osd = sd; struct osd_state *osd = sd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment