summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/siano/smscoreapi.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-15 11:32:00 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-06-15 11:32:00 -0400
commitf2aa3c590d42fba774c9c03387573f841266da7d (patch)
tree7fec046e8b3001888f95a66820b60cbdc3dded8c /linux/drivers/media/dvb/siano/smscoreapi.c
parentc9b4b656aa09d63e1beeb45c498841180e8dbaf6 (diff)
downloadmediapointer-dvb-s2-f2aa3c590d42fba774c9c03387573f841266da7d.tar.gz
mediapointer-dvb-s2-f2aa3c590d42fba774c9c03387573f841266da7d.tar.bz2
sms1xxx: remove INT / UINT typedefs
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/siano/smscoreapi.c')
-rw-r--r--linux/drivers/media/dvb/siano/smscoreapi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.c b/linux/drivers/media/dvb/siano/smscoreapi.c
index 98422879d..2619a0086 100644
--- a/linux/drivers/media/dvb/siano/smscoreapi.c
+++ b/linux/drivers/media/dvb/siano/smscoreapi.c
@@ -520,7 +520,7 @@ int smscore_load_firmware_family2(smscore_device_t *coredev, void *buffer,
{
SmsFirmware_ST *firmware = (SmsFirmware_ST *) buffer;
SmsMsgHdr_ST *msg;
- UINT32 mem_address = firmware->StartAddress;
+ u32 mem_address = firmware->StartAddress;
u8 *payload = firmware->Payload;
int rc = 0;
@@ -544,7 +544,7 @@ int smscore_load_firmware_family2(smscore_device_t *coredev, void *buffer,
rc = smscore_sendrequest_and_wait(coredev, msg,
msg->msgLength,
&coredev->reload_start_done);
- mem_address = *(UINT32*) &payload[20];
+ mem_address = *(u32 *) &payload[20];
}
while (size && rc >= 0)
@@ -553,8 +553,8 @@ int smscore_load_firmware_family2(smscore_device_t *coredev, void *buffer,
int payload_size = min((int) size, SMS_MAX_PAYLOAD_SIZE);
SMS_INIT_MSG(msg, MSG_SMS_DATA_DOWNLOAD_REQ,
- (UINT16)(sizeof(SmsMsgHdr_ST) +
- sizeof(UINT32) + payload_size));
+ (u16)(sizeof(SmsMsgHdr_ST) +
+ sizeof(u32) + payload_size));
DataMsg->MemAddr = mem_address;
memcpy(DataMsg->Payload, payload, payload_size);
@@ -576,7 +576,7 @@ int smscore_load_firmware_family2(smscore_device_t *coredev, void *buffer,
SMS_INIT_MSG(msg, MSG_SMS_SWDOWNLOAD_TRIGGER_REQ,
sizeof(SmsMsgHdr_ST) +
- sizeof(UINT32) * 5);
+ sizeof(u32) * 5);
TriggerMsg->msgData[0] = firmware->StartAddress; // Entry point
TriggerMsg->msgData[1] = 5; // Priority