summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-24 00:08:19 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 14:26:17 +0100
commit45ef0bdb18a37bcf102e2a18c757227f8b192a36 (patch)
tree005b0092d0a2e7baf83899f96a0ef8f5e9610eea /drivers
parent0bc202e0fd84b8c8d042bdf9f0995e1e47bdbf59 (diff)
downloadop-kernel-dev-45ef0bdb18a37bcf102e2a18c757227f8b192a36.zip
op-kernel-dev-45ef0bdb18a37bcf102e2a18c757227f8b192a36.tar.gz
zd1201: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/zd1201.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1201.c b/drivers/net/wireless/zd1201.c
index d5c0c66..78baa0f 100644
--- a/drivers/net/wireless/zd1201.c
+++ b/drivers/net/wireless/zd1201.c
@@ -49,7 +49,7 @@ MODULE_DEVICE_TABLE(usb, zd1201_table);
static int zd1201_fw_upload(struct usb_device *dev, int apfw)
{
const struct firmware *fw_entry;
- char *data;
+ const char *data;
unsigned long len;
int err;
unsigned char ret;
OpenPOWER on IntegriCloud