Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340024
b: refs/heads/master
c: 983c42b
h: refs/heads/master
v: v3
  • Loading branch information
Matt Porter authored and Sekhar Nori committed Oct 27, 2012
1 parent 1cffda2 commit 0af4b6c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c94472d4ad11c5b7d8cd527d136c198269d390fc
refs/heads/master: 983c42ba3465d4a80edfd318de24f8ffb2bf71ca
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-davinci/include/mach/sram.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@
extern void *sram_alloc(size_t len, dma_addr_t *dma);
extern void sram_free(void *addr, size_t len);

/* Get the struct gen_pool * for use in platform data */
extern struct gen_pool *sram_get_gen_pool(void);

#endif /* __MACH_SRAM_H */
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-davinci/sram.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@

static struct gen_pool *sram_pool;

struct gen_pool *sram_get_gen_pool(void)
{
return sram_pool;
}

void *sram_alloc(size_t len, dma_addr_t *dma)
{
unsigned long vaddr;
Expand Down

0 comments on commit 0af4b6c

Please sign in to comment.