diff options
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r-- | drivers/video/fbmem.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 7a2a8fa50b3b..81b6cd23ea1d 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c | |||
@@ -1319,6 +1319,28 @@ int fb_new_modelist(struct fb_info *info) | |||
1319 | return err; | 1319 | return err; |
1320 | } | 1320 | } |
1321 | 1321 | ||
1322 | /** | ||
1323 | * fb_con_duit - user<->fbcon passthrough | ||
1324 | * @info: struct fb_info | ||
1325 | * @event: notification event to be passed to fbcon | ||
1326 | * @data: private data | ||
1327 | * | ||
1328 | * DESCRIPTION | ||
1329 | * This function is an fbcon-user event passing channel | ||
1330 | * which bypasses fbdev. This is hopefully temporary | ||
1331 | * until a user interface for fbcon is created | ||
1332 | */ | ||
1333 | int fb_con_duit(struct fb_info *info, int event, void *data) | ||
1334 | { | ||
1335 | struct fb_event evnt; | ||
1336 | |||
1337 | evnt.info = info; | ||
1338 | evnt.data = data; | ||
1339 | |||
1340 | return notifier_call_chain(&fb_notifier_list, event, &evnt); | ||
1341 | } | ||
1342 | EXPORT_SYMBOL(fb_con_duit); | ||
1343 | |||
1322 | static char *video_options[FB_MAX]; | 1344 | static char *video_options[FB_MAX]; |
1323 | static int ofonly; | 1345 | static int ofonly; |
1324 | 1346 | ||