Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67198
b: refs/heads/master
c: 96b952d
h: refs/heads/master
v: v3
  • Loading branch information
Murali Iyer authored and Paul Mackerras committed Aug 17, 2007
1 parent 02a1d75 commit 247c399
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 0f2342c85df4248bc1cd72421b13969a0782ed6a
refs/heads/master: 96b952dd4b8aaa752b6086ad8bcaf2af23729b5f
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/sysdev/dcr.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ unsigned int dcr_resource_start(struct device_node *np, unsigned int index)

return dr[index * 2];
}
EXPORT_SYMBOL_GPL(dcr_resource_start);

unsigned int dcr_resource_len(struct device_node *np, unsigned int index)
{
Expand All @@ -44,6 +45,7 @@ unsigned int dcr_resource_len(struct device_node *np, unsigned int index)

return dr[index * 2 + 1];
}
EXPORT_SYMBOL_GPL(dcr_resource_len);

#ifndef CONFIG_PPC_DCR_NATIVE

Expand Down Expand Up @@ -122,6 +124,7 @@ dcr_host_t dcr_map(struct device_node *dev, unsigned int dcr_n,
ret.token -= dcr_n * ret.stride;
return ret;
}
EXPORT_SYMBOL_GPL(dcr_map);

void dcr_unmap(dcr_host_t host, unsigned int dcr_n, unsigned int dcr_c)
{
Expand All @@ -133,5 +136,6 @@ void dcr_unmap(dcr_host_t host, unsigned int dcr_n, unsigned int dcr_c)
iounmap(h.token);
h.token = NULL;
}
EXPORT_SYMBOL_GPL(dcr_unmap);

#endif /* !defined(CONFIG_PPC_DCR_NATIVE) */

0 comments on commit 247c399

Please sign in to comment.