VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/drm/vbox_dummy.c@ 62489

Last change on this file since 62489 was 59978, checked in by vboxsync, 9 years ago

bugref:8087: Additions/x11: support non-root X server: simplify handling of kernels too old to build vboxvideo by building a dummy module instead. This saves us some installer logic.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 845 bytes
Line 
1/* $Id: vbox_dummy.c 59978 2016-03-10 10:16:03Z vboxsync $ */
2/** @file
3 * VirtualBox Additions Linux kernel video driver, dummy driver for
4 * older kernels.
5 */
6
7/*
8 * Copyright (C) 2016 Oracle Corporation
9 *
10 * This file is part of VirtualBox Open Source Edition (OSE), as
11 * available from http://www.virtualbox.org. This file is free software;
12 * you can redistribute it and/or modify it under the terms of the GNU
13 * General Public License (GPL) as published by the Free Software
14 * Foundation, in version 2 as it comes in the "COPYING" file of the
15 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17 */
18
19#include <linux/module.h>
20
21static int __init vbox_init(void)
22{
23 return -EINVAL;
24}
25static void __exit vbox_exit(void)
26{
27}
28
29module_init(vbox_init);
30module_exit(vbox_exit);
31
32MODULE_LICENSE("GPL");
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette