summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dt3155/allocator.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2010-02-26 17:58:07 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-03 16:43:07 -0800
commit3a8954e8f22cf31791d8c524c2839433e39f9368 (patch)
treecf2882bb6f05494e31ec485a63917255e5ca9ebc /drivers/staging/dt3155/allocator.h
parent5617f9da4619ec975514e6b385a052e024215da3 (diff)
downloadop-kernel-dev-3a8954e8f22cf31791d8c524c2839433e39f9368.zip
op-kernel-dev-3a8954e8f22cf31791d8c524c2839433e39f9368.tar.gz
staging: dt3155: revert u_long to u64 usage
Commit 9c1390a923ddb6fba1cf9d7440743369140c6d8a replaced all u_int's with u32 and u_long's with u64. Unfortunately, a u_long is still only 32-bits so they should have been replaced with u32 also. This can be verified by the register definitions in dt3155_io.h. It specifically states that the memory mapped registers are 32-bit. Fix this by changing all the u64 to u32. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/dt3155/allocator.h')
-rw-r--r--drivers/staging/dt3155/allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dt3155/allocator.h b/drivers/staging/dt3155/allocator.h
index 4cd81bd..bdf3268 100644
--- a/drivers/staging/dt3155/allocator.h
+++ b/drivers/staging/dt3155/allocator.h
@@ -24,5 +24,5 @@
void allocator_free_dma(unsigned long address);
unsigned long allocator_allocate_dma(unsigned long kilobytes, int priority);
-int allocator_init(u64 *);
+int allocator_init(u32 *);
void allocator_cleanup(void);
OpenPOWER on IntegriCloud