summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/DDRInit.c
diff options
context:
space:
mode:
authorAlejandro R. Sedeño <asedeno@MIT.EDU>2010-11-10 01:42:01 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-10 16:28:30 -0800
commitb706113f1475ce983faabf12120ac4e90d512d02 (patch)
tree30ec2d6609d75ec0b88bcffe057aa4a53a796d05 /drivers/staging/bcm/DDRInit.c
parent2dab1ac81b4767095f96503a9ac093a68c6e9c95 (diff)
Staging: beceem: Use 32-bit integers for hardware register values
Switching to UINT because that's what the rest of this codebase uses. Signed-off-by: Alejandro R. Sedeño <asedeno@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/bcm/DDRInit.c')
-rw-r--r--drivers/staging/bcm/DDRInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/DDRInit.c b/drivers/staging/bcm/DDRInit.c
index 411f02a6b6ea..1c7db81a1ee8 100644
--- a/drivers/staging/bcm/DDRInit.c
+++ b/drivers/staging/bcm/DDRInit.c
@@ -776,7 +776,7 @@ int ddr_init(MINI_ADAPTER *Adapter)
{
PDDR_SETTING psDDRSetting=NULL;
ULONG RegCount=0;
- ULONG value = 0;
+ UINT value = 0;
UINT uiResetValue = 0;
UINT uiClockSetting = 0;
int retval = STATUS_SUCCESS;
@@ -970,7 +970,7 @@ int ddr_init(MINI_ADAPTER *Adapter)
{
value = psDDRSetting->ulRegValue;
}
- retval = wrmalt(Adapter, psDDRSetting->ulRegAddress, (PUINT)&value, sizeof(value));
+ retval = wrmalt(Adapter, psDDRSetting->ulRegAddress, &value, sizeof(value));
if(STATUS_SUCCESS != retval) {
BCM_DEBUG_PRINT(Adapter,DBG_TYPE_PRINTK, 0, 0,"%s:%d\n", __FUNCTION__, __LINE__);
break;