aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorShawn Bohrer <shawn.bohrer@gmail.com>2009-10-25 23:46:46 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 15:23:16 -0500
commitd30b271910e4bcbd7d068939617933a64852dfc8 (patch)
tree3b72e8317d441e657837b797857e13f402024ed0 /drivers/staging
parent6d0158fac61973654d8045fb8d15df8c4e84aaec (diff)
Staging: vt6656 remove kcompat.h
The vt6656 driver is integrated in the kernel so it no longer needs the compatibility header. Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/vt6656/device.h1
-rw-r--r--drivers/staging/vt6656/kcompat.h39
2 files changed, 0 insertions, 40 deletions
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h
index bf65b111883..b4d8ed9b28a 100644
--- a/drivers/staging/vt6656/device.h
+++ b/drivers/staging/vt6656/device.h
@@ -88,7 +88,6 @@
88// device specific 88// device specific
89// 89//
90 90
91#include "kcompat.h"
92#include "device_cfg.h" 91#include "device_cfg.h"
93#include "ttype.h" 92#include "ttype.h"
94#include "80211hdr.h" 93#include "80211hdr.h"
diff --git a/drivers/staging/vt6656/kcompat.h b/drivers/staging/vt6656/kcompat.h
deleted file mode 100644
index 2cf634ca67d..00000000000
--- a/drivers/staging/vt6656/kcompat.h
+++ /dev/null
@@ -1,39 +0,0 @@
1/*
2 * Copyright (c) 1996, 2003 VIA Networking, Inc. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 *
18 *
19 * File: kcompat.h
20 *
21 * Purpose: define kernel compatibility header
22 *
23 * Author: Lyndon Chen
24 *
25 * Date: Apr 8, 2002
26 *
27 */
28
29#ifndef _KCOMPAT_H
30#define _KCOMPAT_H
31
32#include <linux/version.h>
33
34#ifndef HAVE_NETDEV_PRIV
35#define netdev_priv(dev) (dev->priv)
36#endif
37
38#endif
39