Commit c0a14641 authored by Erik Arfvidson's avatar Erik Arfvidson Committed by Greg Kroah-Hartman

staging: unisys: remove timskmod.h and procobjecttree.h

This patch move the needed linux include files from timskmod.h
to the files that calls those include. Also procobjecttree.h is
removed since it is dead code.
Signed-off-by: default avatarErik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f45017ba
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
#ifndef __PERIODIC_WORK_H__ #ifndef __PERIODIC_WORK_H__
#define __PERIODIC_WORK_H__ #define __PERIODIC_WORK_H__
#include "timskmod.h" #include <linux/seq_file.h>
#include <linux/slab.h>
/* PERIODIC_WORK an opaque structure to users. /* PERIODIC_WORK an opaque structure to users.
......
/* procobjecttree.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.
*/
/** @file *********************************************************************
*
* This describes the interfaces necessary for creating a tree of types,
* objects, and properties in /proc.
*
******************************************************************************
*/
#ifndef __PROCOBJECTTREE_H__
#define __PROCOBJECTTREE_H__
#include "timskmod.h"
/* These are opaque structures to users.
* Fields are declared only in the implementation .c files.
*/
typedef struct MYPROCOBJECT_Tag MYPROCOBJECT;
typedef struct MYPROCTYPE_Tag MYPROCTYPE;
MYPROCOBJECT *visor_proc_CreateObject(MYPROCTYPE *type, const char *name,
void *context);
void visor_proc_DestroyObject(MYPROCOBJECT *obj);
MYPROCTYPE *visor_proc_CreateType(struct proc_dir_entry *procRootDir,
const char **name,
const char **propertyNames,
void (*show_property)(struct seq_file *,
void *, int));
void visor_proc_DestroyType(MYPROCTYPE *type);
#endif
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#ifndef __SPARSTOP_H__ #ifndef __SPARSTOP_H__
#define __SPARSTOP_H__ #define __SPARSTOP_H__
#include "timskmod.h"
#include "version.h" #include "version.h"
#include <linux/ctype.h> #include <linux/ctype.h>
......
/* timskmod.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 __TIMSKMOD_H__
#define __TIMSKMOD_H__
#include <linux/version.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/kobject.h>
#include <linux/sysfs.h>
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/wait.h>
#include <linux/vmalloc.h>
#include <linux/proc_fs.h>
#include <linux/cdev.h>
#include <linux/types.h>
#include <asm/irq.h>
#include <linux/io.h>
#include <asm/dma.h>
#include <linux/uaccess.h>
#include <linux/list.h>
#include <linux/poll.h>
/* #define EXPORT_SYMTAB */
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/fcntl.h>
#include <linux/workqueue.h>
#include <linux/kthread.h>
#include <linux/seq_file.h>
#include <linux/mm.h>
#endif
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <linux/device.h> #include <linux/device.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/poll.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/uuid.h> #include <linux/uuid.h>
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "visorbus.h" #include "visorbus.h"
#include "visorbus_private.h" #include "visorbus_private.h"
#include "version.h" #include "version.h"
#include "timskmod.h"
#include "periodic_work.h" #include "periodic_work.h"
#include "vbuschannel.h" #include "vbuschannel.h"
#include "guestlinuxdebug.h" #include "guestlinuxdebug.h"
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "channel.h" #include "channel.h"
#include "controlvmchannel.h" #include "controlvmchannel.h"
#include "procobjecttree.h"
#include "vbusdeviceinfo.h" #include "vbusdeviceinfo.h"
#include "vbushelper.h" #include "vbushelper.h"
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
*/ */
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/cdev.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/mm.h> #include <linux/mm.h>
...@@ -29,7 +30,6 @@ ...@@ -29,7 +30,6 @@
#include "controlvmcompletionstatus.h" #include "controlvmcompletionstatus.h"
#include "guestlinuxdebug.h" #include "guestlinuxdebug.h"
#include "periodic_work.h" #include "periodic_work.h"
#include "procobjecttree.h"
#include "uisutils.h" #include "uisutils.h"
#include "version.h" #include "version.h"
#include "visorbus.h" #include "visorbus.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#ifndef __VISORCHANNEL_GLOBALS_H__ #ifndef __VISORCHANNEL_GLOBALS_H__
#define __VISORCHANNEL_GLOBALS_H__ #define __VISORCHANNEL_GLOBALS_H__
#include "timskmod.h"
#include "version.h" #include "version.h"
#define MYDRVNAME "visorchannel" #define MYDRVNAME "visorchannel"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
*/ */
#include <linux/sched.h> #include <linux/sched.h>
#include "timskmod.h"
#include "periodic_work.h" #include "periodic_work.h"
#define MYDRVNAME "periodic_work" #define MYDRVNAME "periodic_work"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment