mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[POWERPC] remove unused io accessors
The io accessors insw_ns, outsw_ns, insl_ns and outsl_ns are unused (except for one unnecessary use in drivers/net/3c509.c that is addressed in a previous patch) and are only defined in powerpc/ppc, so remove them. Signed-off-by: Stephen Rothwell <[email protected]>
This commit is contained in:
parent
9ca91e0fb5
commit
fa053d2f00
4 changed files with 1 additions and 42 deletions
|
|
@ -339,20 +339,6 @@ void insl(unsigned port, void *buf, int nl)
|
|||
idma_pci9_read((u8 *)buf, (u8 *)addr, nl*sizeof(u32), sizeof(u32), 0);
|
||||
}
|
||||
|
||||
void insw_ns(unsigned port, void *buf, int ns)
|
||||
{
|
||||
u8 *addr = (u8 *)(port + _IO_BASE);
|
||||
|
||||
idma_pci9_read((u8 *)buf, (u8 *)addr, ns*sizeof(u16), sizeof(u16), 0);
|
||||
}
|
||||
|
||||
void insl_ns(unsigned port, void *buf, int nl)
|
||||
{
|
||||
u8 *addr = (u8 *)(port + _IO_BASE);
|
||||
|
||||
idma_pci9_read((u8 *)buf, (u8 *)addr, nl*sizeof(u32), sizeof(u32), 0);
|
||||
}
|
||||
|
||||
void *memcpy_fromio(void *dest, unsigned long src, size_t count)
|
||||
{
|
||||
unsigned long pa = iopa((unsigned long) src);
|
||||
|
|
@ -373,8 +359,6 @@ EXPORT_SYMBOL(inl);
|
|||
EXPORT_SYMBOL(insb);
|
||||
EXPORT_SYMBOL(insw);
|
||||
EXPORT_SYMBOL(insl);
|
||||
EXPORT_SYMBOL(insw_ns);
|
||||
EXPORT_SYMBOL(insl_ns);
|
||||
EXPORT_SYMBOL(memcpy_fromio);
|
||||
|
||||
#endif /* ifdef CONFIG_8260_PCI9 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue