From: Prarit Bhargava <prarit@xxxxxxxxxx> globals.h is only included in visorchannel.c and only contains 2 includes. These can be included directly in visorchannel.c. Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx> Signed-off-by: Benjamin Romer <benjamin.romer@xxxxxxxxxx> --- drivers/staging/unisys/visorbus/globals.h | 27 -------------------------- drivers/staging/unisys/visorbus/visorchannel.c | 3 ++- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 drivers/staging/unisys/visorbus/globals.h diff --git a/drivers/staging/unisys/visorbus/globals.h b/drivers/staging/unisys/visorbus/globals.h deleted file mode 100644 index 0ed8e1d..0000000 --- a/drivers/staging/unisys/visorbus/globals.h +++ /dev/null @@ -1,27 +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 "timskmod.h" -#include "memregion.h" -#include "version.h" - -#define MYDRVNAME "visorchannel" - -#endif diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/visorchannel.c index b61f954..33a4360 100644 --- a/drivers/staging/unisys/visorbus/visorchannel.c +++ b/drivers/staging/unisys/visorbus/visorchannel.c @@ -22,7 +22,8 @@ * a CM2 implementation and a direct memory implementation.) */ -#include "globals.h" +#include "memregion.h" +#include "version.h" #include "visorbus.h" #include <linux/uuid.h> -- 2.1.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel