Skip to content

Commit

Permalink
Driver core: internal struct dma_coherent_mem, change type of a member.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marin Mitov authored and Greg Kroah-Hartman committed Aug 5, 2010
1 parent 94f17cd commit ed1d218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/dma-coherent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ed1d218

Please sign in to comment.