Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / staging / unisys / visorchannel / visorchannel_main.c
1 /* visorchannel_main.c
2  *
3  * Copyright (C) 2010 - 2013 UNISYS CORPORATION
4  * All rights reserved.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or (at
9  * your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
14  * NON INFRINGEMENT.  See the GNU General Public License for more
15  * details.
16  */
17
18 /*
19  *  This is a module "wrapper" around visorchannel_funcs.
20  */
21
22 #include "globals.h"
23 #include "channel.h"
24 #include "visorchannel.h"
25 #include <linux/uuid.h>
26
27 #define MYDRVNAME "visorchannel"
28
29 static int __init
30 visorchannel_init(void)
31 {
32         if (!unisys_spar_platform)
33                 return -ENODEV;
34
35         return 0;
36 }
37
38 static void
39 visorchannel_exit(void)
40 {
41 }
42
43 module_init(visorchannel_init);
44 module_exit(visorchannel_exit);
45
46 MODULE_AUTHOR("Unisys");
47 MODULE_LICENSE("GPL");
48 MODULE_DESCRIPTION("Supervisor channel driver for service partition: ver "
49                    VERSION);
50 MODULE_VERSION(VERSION);