summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgap
diff options
context:
space:
mode:
authorLidza Louina <lidza.louina@gmail.com>2013-08-22 21:35:19 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-23 09:50:23 -0700
commit07b96937cf444939768760220dda1e1f2c3dfafc (patch)
treef57106c2d79c92e69d768c53e5d5e05a83f87db4 /drivers/staging/dgap
parent6dacb8b687fbfe36c20b849a1014c644ce076932 (diff)
staging: dgap: removes mgmt.h
This patch removes mgmt.h and the headers that include it of files in dgap. This file isn't needed for the driver to work with the kernel. Signed-off-by: Lidza Louina <lidza.louina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap')
-rw-r--r--drivers/staging/dgap/dgap_driver.c1
-rw-r--r--drivers/staging/dgap/dgap_fep5.c1
-rw-r--r--drivers/staging/dgap/dgap_mgmt.h33
-rw-r--r--drivers/staging/dgap/dgap_proc.c1
-rw-r--r--drivers/staging/dgap/dgap_sysfs.c1
5 files changed, 0 insertions, 37 deletions
diff --git a/drivers/staging/dgap/dgap_driver.c b/drivers/staging/dgap/dgap_driver.c
index ed56d02e11d..8e8c1e3ec96 100644
--- a/drivers/staging/dgap/dgap_driver.c
+++ b/drivers/staging/dgap/dgap_driver.c
@@ -49,7 +49,6 @@
#include "dgap_tty.h"
#include "dgap_conf.h"
#include "dgap_parse.h"
-#include "dgap_mgmt.h"
#include "dgap_trace.h"
#include "dgap_sysfs.h"
diff --git a/drivers/staging/dgap/dgap_fep5.c b/drivers/staging/dgap/dgap_fep5.c
index 2bbbcd3c398..45b0f28a202 100644
--- a/drivers/staging/dgap/dgap_fep5.c
+++ b/drivers/staging/dgap/dgap_fep5.c
@@ -51,7 +51,6 @@
#include "dgap_tty.h"
#include "dgap_conf.h"
#include "dgap_parse.h"
-#include "dgap_mgmt.h"
#include "dgap_trace.h"
/*
diff --git a/drivers/staging/dgap/dgap_mgmt.h b/drivers/staging/dgap/dgap_mgmt.h
deleted file mode 100644
index 4b153f2dd7f..00000000000
--- a/drivers/staging/dgap/dgap_mgmt.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright 2003 Digi International (www.digi.com)
- * Scott H Kilau <Scott_Kilau at digi dot com>
- *
- * 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, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * NOTE: THIS IS A SHARED HEADER. DO NOT CHANGE CODING STYLE!!!
- */
-
-#ifndef __DGAP_MGMT_H
-#define __DGAP_MGMT_H
-
-#define MGMT_MGMT 0
-#define MGMT_DOWNLD 1
-
-int dgap_mgmt_open(struct inode *inode, struct file *file);
-int dgap_mgmt_close(struct inode *inode, struct file *file);
-long dgap_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
-
-#endif
-
diff --git a/drivers/staging/dgap/dgap_proc.c b/drivers/staging/dgap/dgap_proc.c
index 6950a6c9b87..8c46b248482 100644
--- a/drivers/staging/dgap/dgap_proc.c
+++ b/drivers/staging/dgap/dgap_proc.c
@@ -46,7 +46,6 @@
#include "dgap_driver.h"
#include "dgap_proc.h"
-#include "dgap_mgmt.h"
#include "dgap_conf.h"
#include "dgap_parse.h"
#include "dgap_fep5.h"
diff --git a/drivers/staging/dgap/dgap_sysfs.c b/drivers/staging/dgap/dgap_sysfs.c
index 6f98ac62483..a35c8ed69ef 100644
--- a/drivers/staging/dgap/dgap_sysfs.c
+++ b/drivers/staging/dgap/dgap_sysfs.c
@@ -45,7 +45,6 @@
#include "dgap_driver.h"
#include "dgap_proc.h"
-#include "dgap_mgmt.h"
#include "dgap_conf.h"
#include "dgap_parse.h"