Skip to content

Commit

Permalink
[ARM] omap: resource: Make free_user() static
Browse files Browse the repository at this point in the history
Only resource framework calls free_user(), ensure it is this way.

Change-Id: Iea543a009126216b6d3b607595d0b799bf0ef2e9
Signed-off-by: Mike Chan <mike@android.com>
  • Loading branch information
Mike Chan committed Apr 24, 2010
1 parent 981f69c commit 20f3559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/resource.c
Expand Up @@ -190,7 +190,7 @@ static struct users_list *get_user(void)
* dynamically allocated, and if its from the static pool, marks it unused.
* No return value.
*/
void free_user(struct users_list *user)
static void free_user(struct users_list *user)
{
if (user->usage == DYNAMIC_ALLOC) {
kfree(user);
Expand Down

0 comments on commit 20f3559

Please sign in to comment.