OSDN Git Service

staging: dgap: removes mgmt.h
authorLidza Louina <lidza.louina@gmail.com>
Fri, 23 Aug 2013 01:35:19 +0000 (21:35 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 16:50:23 +0000 (09:50 -0700)
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>
drivers/staging/dgap/dgap_driver.c
drivers/staging/dgap/dgap_fep5.c
drivers/staging/dgap/dgap_mgmt.h [deleted file]
drivers/staging/dgap/dgap_proc.c
drivers/staging/dgap/dgap_sysfs.c

index ed56d02..8e8c1e3 100644 (file)
@@ -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"
 
index 2bbbcd3..45b0f28 100644 (file)
@@ -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 (file)
index 4b153f2..0000000
+++ /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
-
index 6950a6c..8c46b24 100644 (file)
@@ -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"
index 6f98ac6..a35c8ed 100644 (file)
@@ -45,7 +45,6 @@
   
 #include "dgap_driver.h"
 #include "dgap_proc.h"
-#include "dgap_mgmt.h"
 #include "dgap_conf.h"
 #include "dgap_parse.h"