diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-08-05 17:04:01 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-08-05 17:04:01 -0300 |
commit | 57f0f512b273f60d52568b8c6b77e17f5636edc0 (patch) | |
tree | 5e910f0e82173f4ef4f51111366a3f1299037a7b /drivers/staging/unisys/visorchannel/visorchannel_main.c |
Initial import
Diffstat (limited to 'drivers/staging/unisys/visorchannel/visorchannel_main.c')
-rw-r--r-- | drivers/staging/unisys/visorchannel/visorchannel_main.c | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/drivers/staging/unisys/visorchannel/visorchannel_main.c b/drivers/staging/unisys/visorchannel/visorchannel_main.c new file mode 100644 index 000000000..787d4774b --- /dev/null +++ b/drivers/staging/unisys/visorchannel/visorchannel_main.c @@ -0,0 +1,50 @@ +/* visorchannel_main.c + * + * Copyright (C) 2010 - 2013 UNISYS CORPORATION + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or + * NON INFRINGEMENT. See the GNU General Public License for more + * details. + */ + +/* + * This is a module "wrapper" around visorchannel_funcs. + */ + +#include "globals.h" +#include "channel.h" +#include "visorchannel.h" +#include <linux/uuid.h> + +#define MYDRVNAME "visorchannel" + +static int __init +visorchannel_init(void) +{ + if (!unisys_spar_platform) + return -ENODEV; + + return 0; +} + +static void +visorchannel_exit(void) +{ +} + +module_init(visorchannel_init); +module_exit(visorchannel_exit); + +MODULE_AUTHOR("Unisys"); +MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("Supervisor channel driver for service partition: ver " + VERSION); +MODULE_VERSION(VERSION); |