Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c008fa83 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman
Browse files

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

parent d15fe3e0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
+2 −1
Original line number Diff line number Diff line
@@ -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