From: David Kershner Date: Tue, 16 Jun 2015 03:31:57 +0000 (-0400) Subject: staging: unisys: Remove visorchannel stub X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=39630ee2a37e57cc8dfa3cf5a55f8249d6e883bc;p=linux-beck.git staging: unisys: Remove visorchannel stub Visorchannel directory has been stripped down to almost nothing, and is no longer referenced. This finishes getting rid of the directory. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorchannel/Kconfig b/drivers/staging/unisys/visorchannel/Kconfig deleted file mode 100644 index 3148f6b2a2e9..000000000000 --- a/drivers/staging/unisys/visorchannel/Kconfig +++ /dev/null @@ -1,9 +0,0 @@ -# -# Unisys visorchannel configuration -# - -config UNISYS_VISORCHANNEL - tristate "Unisys visorchannel driver" - ---help--- - If you say Y here, you will enable the Unisys visorchannel driver. - diff --git a/drivers/staging/unisys/visorchannel/Makefile b/drivers/staging/unisys/visorchannel/Makefile deleted file mode 100644 index 0c0cacbd8843..000000000000 --- a/drivers/staging/unisys/visorchannel/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# -# Makefile for Unisys visorchannel -# - -obj-$(CONFIG_UNISYS_VISORCHANNEL) += visorchannel.o - -visorchannel-y := visorchannel_main.o visorchannel_funcs.o - -ccflags-y += -Idrivers/staging/unisys/include -ccflags-y += -Idrivers/staging/unisys/visorutil diff --git a/drivers/staging/unisys/visorchannel/globals.h b/drivers/staging/unisys/visorchannel/globals.h deleted file mode 100644 index 1c3c427e3e13..000000000000 --- a/drivers/staging/unisys/visorchannel/globals.h +++ /dev/null @@ -1,25 +0,0 @@ -/* globals.h - * - * 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. - */ - -#ifndef __VISORCHANNEL_GLOBALS_H__ -#define __VISORCHANNEL_GLOBALS_H__ - -#include "version.h" - -#define MYDRVNAME "visorchannel" - -#endif diff --git a/drivers/staging/unisys/visorchannel/visorchannel_main.c b/drivers/staging/unisys/visorchannel/visorchannel_main.c deleted file mode 100644 index 787d4774b199..000000000000 --- a/drivers/staging/unisys/visorchannel/visorchannel_main.c +++ /dev/null @@ -1,50 +0,0 @@ -/* 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 - -#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);