diff options
Diffstat (limited to 'arch/powerpc/sysdev/bestcomm/bestcomm.c')
| -rw-r--r-- | arch/powerpc/sysdev/bestcomm/bestcomm.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/bestcomm/bestcomm.c b/arch/powerpc/sysdev/bestcomm/bestcomm.c index d9130630f7e..81c33148133 100644 --- a/arch/powerpc/sysdev/bestcomm/bestcomm.c +++ b/arch/powerpc/sysdev/bestcomm/bestcomm.c @@ -414,7 +414,7 @@ static int mpc52xx_bcom_probe(struct platform_device *op)  		goto error_sramclean;  	} -	if (!request_mem_region(res_bcom.start, sizeof(struct mpc52xx_sdma), +	if (!request_mem_region(res_bcom.start, resource_size(&res_bcom),  				DRIVER_NAME)) {  		printk(KERN_ERR DRIVER_NAME ": "  			"Can't request registers region\n");  |