diff options
author | Marin Mitov <mitov@issp.bas.bg> | 2010-05-31 13:03:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-05 13:53:33 -0700 |
commit | ed1d218c95c6846416ddb39085b20a5b3c0872e4 (patch) | |
tree | c5fde1cb1169af6c26f8445708484778b79c1cbb /drivers/base | |
parent | 94f17cd7887ca681ea88fda1fd9bf65c0ca161f0 (diff) | |
download | kernel_samsung_smdk4412-ed1d218c95c6846416ddb39085b20a5b3c0872e4.zip kernel_samsung_smdk4412-ed1d218c95c6846416ddb39085b20a5b3c0872e4.tar.gz kernel_samsung_smdk4412-ed1d218c95c6846416ddb39085b20a5b3c0872e4.tar.bz2 |
Driver core: internal struct dma_coherent_mem, change type of a member.
struct dma_coherent_mem in drivers/base/dma-coherent.c
has member 'device_base' that is of type u32,
but is assigned value of type dma_addr_t, which may be
64 bits for x86_64. Change the type to dma_addr_t.
Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/dma-coherent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/dma-coherent.c b/drivers/base/dma-coherent.c index d4d8ce5..f369e27 100644 --- a/drivers/base/dma-coherent.c +++ b/drivers/base/dma-coherent.c @@ -8,7 +8,7 @@ struct dma_coherent_mem { void *virt_base; - u32 device_base; + dma_addr_t device_base; int size; int flags; unsigned long *bitmap; |