Skip to content

Commit

Permalink
sparc: Kill prom devops_{32,64}.c
Browse files Browse the repository at this point in the history
Completely unused.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Nov 16, 2010
1 parent 17d70d6 commit b148246
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 195 deletions.
19 changes: 0 additions & 19 deletions arch/sparc/include/asm/oplib_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,6 @@ extern char *prom_getbootargs(void);
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);

/* Device operations. */

/* Open the device described by the passed string. Note, that the format
* of the string is different on V0 vs. V2->higher proms. The caller must
* know what he/she is doing! Returns the device descriptor, an int.
*/
extern int prom_devopen(char *device_string);

/* Close a previously opened device described by the passed integer
* descriptor.
*/
extern int prom_devclose(int device_handle);

/* Do a seek operation on the device described by the passed integer
* descriptor.
*/
extern void prom_seek(int device_handle, unsigned int seek_hival,
unsigned int seek_lowval);

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

/* Reboot the machine with the command line passed. */
Expand Down
21 changes: 0 additions & 21 deletions arch/sparc/include/asm/oplib_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,27 +67,6 @@ extern void prom_init(void *cif_handler, void *cif_stack);
/* Boot argument acquisition, returns the boot command line string. */
extern char *prom_getbootargs(void);

/* Device utilities. */

/* Device operations. */

/* Open the device described by the passed string. Note, that the format
* of the string is different on V0 vs. V2->higher proms. The caller must
* know what he/she is doing! Returns the device descriptor, an int.
*/
extern int prom_devopen(const char *device_string);

/* Close a previously opened device described by the passed integer
* descriptor.
*/
extern int prom_devclose(int device_handle);

/* Do a seek operation on the device described by the passed integer
* descriptor.
*/
extern void prom_seek(int device_handle, unsigned int seek_hival,
unsigned int seek_lowval);

/* 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 @@ -6,7 +6,6 @@ ccflags := -Werror

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

This file was deleted.

67 changes: 0 additions & 67 deletions arch/sparc/prom/devops_64.c

This file was deleted.

0 comments on commit b148246

Please sign in to comment.