From 39630ee2a37e57cc8dfa3cf5a55f8249d6e883bc Mon Sep 17 00:00:00 2001 From: David Kershner Date: Mon, 15 Jun 2015 23:31:57 -0400 Subject: [PATCH] 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 --- drivers/staging/unisys/visorchannel/Kconfig | 9 ---- drivers/staging/unisys/visorchannel/Makefile | 10 ----- drivers/staging/unisys/visorchannel/globals.h | 25 ----------- .../unisys/visorchannel/visorchannel_main.c | 50 ---------------------- 4 files changed, 94 deletions(-) delete mode 100644 drivers/staging/unisys/visorchannel/Kconfig delete mode 100644 drivers/staging/unisys/visorchannel/Makefile delete mode 100644 drivers/staging/unisys/visorchannel/globals.h delete mode 100644 drivers/staging/unisys/visorchannel/visorchannel_main.c 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); -- 2.11.0