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 29static int __init 30visorchannel_init(void) 31{ 32 if (!unisys_spar_platform) 33 return -ENODEV; 34 35 INFODRV("driver version %s loaded", VERSION); 36 return 0; 37} 38 39static void 40visorchannel_exit(void) 41{ 42 INFODRV("driver unloaded"); 43} 44 45module_init(visorchannel_init); 46module_exit(visorchannel_exit); 47 48MODULE_AUTHOR("Unisys"); 49MODULE_LICENSE("GPL"); 50MODULE_DESCRIPTION("Supervisor channel driver for service partition: ver " 51 VERSION); 52MODULE_VERSION(VERSION); 53