diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-02-09 12:41:38 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 16:42:56 -0800 |
commit | dcff74ce8b458792c1628ad9f3803fc648f94e11 (patch) | |
tree | 483c32cbb88f83ae0a378d545e415ade80106ab2 /drivers/staging/dt3155/allocator.c | |
parent | 5d3921117d7c3bfec5a5877ba0be0430e2aec491 (diff) | |
download | linux-3.10-dcff74ce8b458792c1628ad9f3803fc648f94e11.tar.gz linux-3.10-dcff74ce8b458792c1628ad9f3803fc648f94e11.tar.bz2 linux-3.10-dcff74ce8b458792c1628ad9f3803fc648f94e11.zip |
Staging: dt3155: replace u_int and u_long usage
Use u32 and u64 instead, that's the proper thing to do.
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/dt3155/allocator.c')
-rw-r--r-- | drivers/staging/dt3155/allocator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/dt3155/allocator.c b/drivers/staging/dt3155/allocator.c index 4983c9379e5..114e2a86fef 100644 --- a/drivers/staging/dt3155/allocator.c +++ b/drivers/staging/dt3155/allocator.c @@ -27,7 +27,7 @@ ------------------------------------------------------------------- 02-Aug-2002 NJC allocator now steps in 1MB increments, rather than doubling its size each time. - Also, allocator_init(u_int *) now returns + Also, allocator_init(u32 *) now returns (in the first arg) the size of the free space. This is no longer consistent with using the allocator as a module, and some changes @@ -195,7 +195,7 @@ int allocator_free_dma(unsigned long address) * On cleanup everything is released. If the list is not empty, that a * problem of our clients */ -int allocator_init(u_long *allocator_max) +int allocator_init(u64 *allocator_max) { /* check how much free memory is there */ void *remapped; |