Skip to content

Commit

Permalink
sparc: drop prom/devmap.c
Browse files Browse the repository at this point in the history
None of the functions was used.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Jan 3, 2011
1 parent bce5fee commit 743ceee
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 66 deletions.
12 changes: 0 additions & 12 deletions arch/sparc/include/asm/oplib_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,6 @@ extern void prom_init(struct linux_romvec *rom_ptr);
/* Boot argument acquisition, returns the boot command line string. */
extern char *prom_getbootargs(void);

/* Device utilities. */

/* Map and unmap devices in IO space at virtual addresses. Note that the
* virtual address you pass is a request and the prom may put your mappings
* somewhere else, so check your return value as that is where your new
* mappings really are!
*
* Another note, these are only available on V2 or higher proms!
*/
extern char *prom_mapio(char *virt_hint, int io_space, unsigned int phys_addr, unsigned int num_bytes);
extern void prom_unmapio(char *virt_addr, unsigned int num_bytes);

/* Miscellaneous routines, don't really fit in any category per se. */

/* Reboot the machine with the command line passed. */
Expand Down
1 change: 0 additions & 1 deletion arch/sparc/prom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ asflags := -ansi
ccflags := -Werror

lib-y := bootstr_$(BITS).o
lib-$(CONFIG_SPARC32) += devmap.o
lib-y += init_$(BITS).o
lib-$(CONFIG_SPARC32) += memory.o
lib-y += misc_$(BITS).o
Expand Down
53 changes: 0 additions & 53 deletions arch/sparc/prom/devmap.c

This file was deleted.

0 comments on commit 743ceee

Please sign in to comment.