diff --git a/drivers/firmware/dell_rbu.c b/drivers/firmware/dell_rbu.c index 6a8b1e037e0776e7e4a1e3d1214380e062da694c..7430e218cda6d54546a72ada7871216ae4916e1c 100644 --- a/drivers/firmware/dell_rbu.c +++ b/drivers/firmware/dell_rbu.c @@ -220,7 +220,7 @@ static int create_packet(void *data, size_t length) return retval; } -static int packetize_data(void *data, size_t length) +static int packetize_data(const u8 *data, size_t length) { int rc = 0; int done = 0;