drivers/video/console/promcon.c: fix build error
authorAlexander Beregalov <a.beregalov@gmail.com>
Sat, 2 Aug 2008 23:03:57 +0000 (03:03 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 3 Aug 2008 08:51:30 +0000 (09:51 +0100)
drivers/video/console/promcon.c:158: error: implicit declaration of
function 'con_protect_unimap'

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

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Cc: Tim Bird <tim.bird@am.sony.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/vt_kern.h

index 8c8119ffee1204cf42dc6a4210fb15d435ddf7f0..1c78d56c57e546cf6492e075e6c5ad5604144457 100644 (file)
@@ -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_get_unimap(vc, ct, uct, list) (-EINVAL)
 #define con_free_unimap(vc) do { ; } while (0)
+#define con_protect_unimap(vc, rdonly) do { ; } while (0)
 
 #define vc_translate(vc, c) (c)
 #endif