summaryrefslogtreecommitdiff
path: root/drivers/media/common/siano/smsendian.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/siano/smsendian.c')
-rw-r--r--drivers/media/common/siano/smsendian.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/siano/smsendian.c b/drivers/media/common/siano/smsendian.c
index 8cb8853a1edb..a3573814919b 100644
--- a/drivers/media/common/siano/smsendian.c
+++ b/drivers/media/common/siano/smsendian.c
@@ -17,7 +17,7 @@
void smsendian_handle_tx_message(void *buffer)
{
#ifdef __BIG_ENDIAN
- struct sms_msg_data *msg = (struct sms_msg_data *)buffer;
+ struct sms_msg_data *msg = buffer;
int i;
int msg_words;