Browse Source

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>
Lidza Louina 12 years ago
parent
commit
07b96937cf

+ 0 - 1
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"
 

+ 0 - 1
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"
 
 /*

+ 0 - 33
drivers/staging/dgap/dgap_mgmt.h

@@ -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
-

+ 0 - 1
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"

+ 0 - 1
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"