summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-05-29 19:05:08 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 15:26:42 +0200
commitc6c1c94e8225c833d4c175622f8c2e70c7347a7d (patch)
treed6a6bcaed658f3a6cf49943297482341a302ec7a /drivers
parentymfpci: treat firmware data as const (diff)
downloadlinux-c6c1c94e8225c833d4c175622f8c2e70c7347a7d.tar.xz
linux-c6c1c94e8225c833d4c175622f8c2e70c7347a7d.zip
dell_rbu: firmware data is const
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firmware/dell_rbu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/dell_rbu.c b/drivers/firmware/dell_rbu.c
index 6a8b1e037e07..7430e218cda6 100644
--- a/drivers/firmware/dell_rbu.c
+++ b/drivers/firmware/dell_rbu.c
@@ -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;