Commit 564efd79 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman
Browse files

staging: ks7010: delete seperate debug header



Move the one debug macro to the generic wlan header.

Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3215bb1a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@
#include "ks_wlan.h"
#include "ks_hostif.h"
#include "ks_wlan_ioctl.h"
#include "ks_debug.h"

static int wep_on_off;
#define	WEP_OFF		0
+0 −1
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@

#include "ks_wlan.h"
#include "ks_wlan_ioctl.h"
#include "ks_debug.h"
#include "ks_hostif.h"

#include "ks7010_sdio.h"

drivers/staging/ks7010/ks_debug.h

deleted100644 → 0
+0 −28
Original line number Diff line number Diff line
/*
 *   Driver for KeyStream 11b/g wireless LAN cards.
 *   
 *   ks_debug.h
 *   $Id: ks_debug.h 991 2009-09-14 01:38:58Z sekine $
 *
 *   Copyright (C) 2005-2008 KeyStream Corp.
 *   Copyright (C) 2009 Renesas Technology Corp.
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it undr the terms of the GNU General Public License version 2 as
 *   published by the Free Sotware Foundation.
 */

#ifndef _KS_DEBUG_H
#define _KS_DEBUG_H

#include <linux/kernel.h>


#ifdef KS_WLAN_DEBUG
#define DPRINTK(n, fmt, args...) \
                 if (KS_WLAN_DEBUG>(n)) printk(KERN_NOTICE "%s: "fmt, __FUNCTION__, ## args)
#else
#define DPRINTK(n, fmt, args...)
#endif

#endif /* _KS_DEBUG_H */
+0 −1
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@
 */

#include "ks_wlan.h"
#include "ks_debug.h"
#include "ks_hostif.h"
#include "eap_packet.h"
#include "michael_mic.h"
+7 −0
Original line number Diff line number Diff line
@@ -38,6 +38,13 @@

#include "ks7010_sdio.h"

#ifdef KS_WLAN_DEBUG
#define DPRINTK(n, fmt, args...) \
                 if (KS_WLAN_DEBUG>(n)) printk(KERN_NOTICE "%s: "fmt, __FUNCTION__, ## args)
#else
#define DPRINTK(n, fmt, args...)
#endif

struct ks_wlan_parameter {
	uint8_t		operation_mode;	   /* Operation Mode */
	uint8_t		channel;	   /*  Channel */
Loading