diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-14 18:49:04 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-14 18:51:11 -0400 |
commit | 751851af7aae9b8bd5a60b3897209081fbc18b2b (patch) | |
tree | 5cb8dbb71d691a760da61e319796800ee42cc1c5 /drivers/net/irda | |
parent | a41eebab7537890409ea9dfe0fcda9b5fbdb090d (diff) | |
parent | d71792ac3d48df6693f7b339e02494efc27036c3 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Conflicts:
sound/pci/Kconfig
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/irda-usb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c index 6f50ed7b183f..18b471cd1447 100644 --- a/drivers/net/irda/irda-usb.c +++ b/drivers/net/irda/irda-usb.c | |||
@@ -1024,7 +1024,7 @@ static int irda_usb_is_receiving(struct irda_usb_cb *self) | |||
1024 | * Upload firmware code to SigmaTel 421X IRDA-USB dongle | 1024 | * Upload firmware code to SigmaTel 421X IRDA-USB dongle |
1025 | */ | 1025 | */ |
1026 | static int stir421x_fw_upload(struct irda_usb_cb *self, | 1026 | static int stir421x_fw_upload(struct irda_usb_cb *self, |
1027 | unsigned char *patch, | 1027 | const unsigned char *patch, |
1028 | const unsigned int patch_len) | 1028 | const unsigned int patch_len) |
1029 | { | 1029 | { |
1030 | int ret = -ENOMEM; | 1030 | int ret = -ENOMEM; |
@@ -1073,11 +1073,11 @@ static int stir421x_fw_upload(struct irda_usb_cb *self, | |||
1073 | */ | 1073 | */ |
1074 | static int stir421x_patch_device(struct irda_usb_cb *self) | 1074 | static int stir421x_patch_device(struct irda_usb_cb *self) |
1075 | { | 1075 | { |
1076 | unsigned int i; | 1076 | unsigned int i; |
1077 | int ret; | 1077 | int ret; |
1078 | char stir421x_fw_name[11]; | 1078 | char stir421x_fw_name[11]; |
1079 | const struct firmware *fw; | 1079 | const struct firmware *fw; |
1080 | unsigned char *fw_version_ptr; /* pointer to version string */ | 1080 | const unsigned char *fw_version_ptr; /* pointer to version string */ |
1081 | unsigned long fw_version = 0; | 1081 | unsigned long fw_version = 0; |
1082 | 1082 | ||
1083 | /* | 1083 | /* |