dell_rbu: firmware data is const
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 29 May 2008 17:05:08 +0000 (10:05 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 10 Jul 2008 13:26:42 +0000 (14:26 +0100)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/firmware/dell_rbu.c

index 6a8b1e037e0776e7e4a1e3d1214380e062da694c..7430e218cda6d54546a72ada7871216ae4916e1c 100644 (file)
@@ -220,7 +220,7 @@ out_noalloc:
        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;