Skip to content

Commit

Permalink
Staging: ipack: remove read/write operations from ipack_bus_ops
Browse files Browse the repository at this point in the history
They are not used any longer.

Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Samuel Iglesias Gonsálvez authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent b2e93e9 commit 564bbf9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/staging/ipack/ipack.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,25 +105,13 @@ struct ipack_driver {
* @unmap_space: unmap IP address space
* @request_irq: request IRQ
* @free_irq: free IRQ
* @read8: read unsigned char
* @read16: read unsigned short
* @read32: read unsigned int
* @write8: read unsigned char
* @write16: read unsigned short
* @write32: read unsigned int
* @remove_device: tell the bridge module that the device has been removed
*/
struct ipack_bus_ops {
int (*map_space) (struct ipack_device *dev, unsigned int memory_size, int space);
int (*unmap_space) (struct ipack_device *dev, int space);
int (*request_irq) (struct ipack_device *dev, int vector, int (*handler)(void *), void *arg);
int (*free_irq) (struct ipack_device *dev);
int (*read8) (struct ipack_device *dev, int space, unsigned long offset, unsigned char *value);
int (*read16) (struct ipack_device *dev, int space, unsigned long offset, unsigned short *value);
int (*read32) (struct ipack_device *dev, int space, unsigned long offset, unsigned int *value);
int (*write8) (struct ipack_device *dev, int space, unsigned long offset, unsigned char value);
int (*write16) (struct ipack_device *dev, int space, unsigned long offset, unsigned short value);
int (*write32) (struct ipack_device *dev, int space, unsigned long offset, unsigned int value);
int (*remove_device) (struct ipack_device *dev);
};

Expand Down

0 comments on commit 564bbf9

Please sign in to comment.