staging: rtl8192e: cmdpkt: Pass data as const void*

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mateusz Kulikowski 2015-10-19 22:00:19 +02:00 committed by Greg Kroah-Hartman
parent d15fe3e019
commit c008fa83c4
2 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,8 @@
#include "r8192E_hw.h"
#include "r8192E_cmdpkt.h"
bool rtl92e_send_cmd_pkt(struct net_device *dev, u32 type, u8 *data, u32 len)
bool rtl92e_send_cmd_pkt(struct net_device *dev, u32 type, const void *data,
u32 len)
{
bool rt_status = true;

View File

@ -15,5 +15,6 @@
#ifndef R819XUSB_CMDPKT_H
#define R819XUSB_CMDPKT_H
bool rtl92e_send_cmd_pkt(struct net_device *dev, u32 type, u8 *data, u32 len);
bool rtl92e_send_cmd_pkt(struct net_device *dev, u32 type, const void *data,
u32 len);
#endif