Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf368d2f authored by Alexander Beregalov's avatar Alexander Beregalov Committed by David Woodhouse
Browse files

drivers/video/console/promcon.c: fix build error



drivers/video/console/promcon.c:158: error: implicit declaration of
function 'con_protect_unimap'

Introduced by commit a29ccf6f
("embedded: fix vc_translate operator precedence").

Signed-off-by: default avatarAlexander Beregalov <a.beregalov@gmail.com>
Cc: Tim Bird <tim.bird@am.sony.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 85ebd003
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -86,6 +86,7 @@ int con_copy_unimap(struct vc_data *dst_vc, struct vc_data *src_vc);
#define con_copy_unimap(d, s) (0)
#define con_copy_unimap(d, s) (0)
#define con_get_unimap(vc, ct, uct, list) (-EINVAL)
#define con_get_unimap(vc, ct, uct, list) (-EINVAL)
#define con_free_unimap(vc) do { ; } while (0)
#define con_free_unimap(vc) do { ; } while (0)
#define con_protect_unimap(vc, rdonly) do { ; } while (0)


#define vc_translate(vc, c) (c)
#define vc_translate(vc, c) (c)
#endif
#endif