summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ks7010/ks_wlan.h
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-04-18 10:35:34 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-18 13:33:17 +0200
commit321dabdc746d995a962d02dd81ecf23ddc3b3169 (patch)
treeee5a367792d4055a7117045faad88af27801eb89 /drivers/staging/ks7010/ks_wlan.h
parent07e483c14bd5d149b1c214562654798a5be104b0 (diff)
downloadop-kernel-dev-321dabdc746d995a962d02dd81ecf23ddc3b3169.zip
op-kernel-dev-321dabdc746d995a962d02dd81ecf23ddc3b3169.tar.gz
staging: ks7010: move tasklet_struct to ks_wlan_private
Currently a pointer to the tasklet_struct used for bottom half processing on the receive path is within the hw_info_t structure. This structure is then embedded in the device private data structure. Having the tasklet_struct nested does not add meaning to the device private data, device private data already (and typically) has various data relating to the device, there is no real need to separate the tasklet_struct to a SDIO specific structure. While not adding allot of extra meaning having the nested structure means the programmer must open two header files to read the description of the device private data, the code would be easier to read if the device private data struct description was not spread over two files. Move tasklet_struct out of sdio header file and into the device private data structure description. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/ks_wlan.h')
-rw-r--r--drivers/staging/ks7010/ks_wlan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 7968470..b0bc7a8 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -414,6 +414,7 @@ struct wps_status_t {
struct ks_wlan_private {
struct hw_info_t ks_wlan_hw; /* hardware information */
+ struct tasklet_struct rx_bh_task;
struct net_device *net_dev;
int reg_net; /* register_netdev */
OpenPOWER on IntegriCloud