From 8187b4fb9c17ea8e2a71c0563434f3ee08aad0d7 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Fri, 23 May 2008 23:56:51 +0100 Subject: bluetooth: treat firmware data as const Signed-off-by: David Woodhouse --- drivers/bluetooth/bt3c_cs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/bluetooth/bt3c_cs.c') diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c index 7703d6e06fd..593b7c59503 100644 --- a/drivers/bluetooth/bt3c_cs.c +++ b/drivers/bluetooth/bt3c_cs.c @@ -470,7 +470,8 @@ static int bt3c_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long /* ======================== Card services HCI interaction ======================== */ -static int bt3c_load_firmware(bt3c_info_t *info, unsigned char *firmware, int count) +static int bt3c_load_firmware(bt3c_info_t *info, const unsigned char *firmware, + int count) { char *ptr = (char *) firmware; char b[9]; -- cgit v1.2.3-70-g09d2