diff options
| author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-05-07 20:53:16 +0200 |
|---|---|---|
| committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-07-30 21:21:39 +0200 |
| commit | 1c388919d89ca35741e9c4d3255adf87f76f0c06 (patch) | |
| tree | 3858d97ce2f91cdf6ec3badafbf66ef058e178a7 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | 88efd0bbc0fe403a9948e6f94cc48b9f15ee4861 (diff) | |
resources: Add lookup_resource()
Add a function to find an existing resource by a resource start address.
This allows to implement simple allocators (with a malloc/free-alike API)
on top of the resource system.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
