diff options
| author | Grant Likely <grant.likely@secretlab.ca> | 2007-02-20 09:05:45 +0100 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2007-02-20 09:05:45 +0100 | 
| commit | eb867a76238fb38e952c37871b16d0d7fd61c95f (patch) | |
| tree | 7db1f4941c4e51073b7a6d600a9432b51e2f56fa /include/part.h | |
| parent | 53758fa20e935cc87eeb0519ed365df753a6f289 (diff) | |
| download | olio-uboot-2014.01-eb867a76238fb38e952c37871b16d0d7fd61c95f.tar.xz olio-uboot-2014.01-eb867a76238fb38e952c37871b16d0d7fd61c95f.zip | |
[PATCH 9_9] Use "void *" not "unsigned long *" for block dev read_write buffer pointers
Block device read/write is anonymous data; there is no need to use a
typed pointer.  void * is fine.  Also add a hook for block_read functions
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/part.h')
| -rw-r--r-- | include/part.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/include/part.h b/include/part.h index 4f5a57079..29c03205f 100644 --- a/include/part.h +++ b/include/part.h @@ -44,7 +44,7 @@ typedef struct block_dev_desc {  	unsigned long	(*block_read)(int dev,  				      unsigned long start,  				      lbaint_t blkcnt, -				      unsigned long *buffer); +				      void *buffer);  	unsigned long	(*block_write)(int dev,  				       unsigned long start,  				       lbaint_t blkcnt, |