summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/power.h
diff options
context:
space:
mode:
authorMalcolm Priestley2015-11-22 10:07:20 +0100
committerGreg Kroah-Hartman2016-02-08 04:02:03 +0100
commitc30ab9303f8c6e92d48afe1740a8483b431c195f (patch)
tree0f6dbc12ce83c3ae85e70a44bf1b436746b162e5 /drivers/staging/vt6655/power.h
parentstaging: vt6655: power.c replace pDevice with priv (diff)
downloadkernel-qcow2-linux-c30ab9303f8c6e92d48afe1740a8483b431c195f.tar.gz
kernel-qcow2-linux-c30ab9303f8c6e92d48afe1740a8483b431c195f.tar.xz
kernel-qcow2-linux-c30ab9303f8c6e92d48afe1740a8483b431c195f.zip
staging: vt6655: rf.c/h Replace DeviceContext with vnt_private
Removing void and including device.h for power.h Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/power.h')
-rw-r--r--drivers/staging/vt6655/power.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/power.h b/drivers/staging/vt6655/power.h
index 538e68507bb0..d82dd8d6d68b 100644
--- a/drivers/staging/vt6655/power.h
+++ b/drivers/staging/vt6655/power.h
@@ -29,25 +29,27 @@
#ifndef __POWER_H__
#define __POWER_H__
+#include "device.h"
+
#define C_PWBT 1000 /* micro sec. power up before TBTT */
#define PS_FAST_INTERVAL 1 /* Fast power saving listen interval */
#define PS_MAX_INTERVAL 4 /* MAX power saving listen interval */
void
PSvDisablePowerSaving(
- void *hDeviceContext
+ struct vnt_private *
);
void
PSvEnablePowerSaving(
- void *hDeviceContext,
+ struct vnt_private *,
unsigned short wListenInterval
);
bool
PSbIsNextTBTTWakeUp(
- void *hDeviceContext
+ struct vnt_private *
);
#endif /* __POWER_H__ */