diff options
| author | Gabor Juhos <[email protected]> | 2013-05-26 12:11:28 +0200 |
|---|---|---|
| committer | Macpaul Lin <[email protected]> | 2013-07-24 11:49:17 +0800 |
| commit | c575180bae9b6baa8aa06e832f81ff41264f5707 (patch) | |
| tree | ea99164e478826612e12f5c7b4816a9aefea0d65 /include/linux | |
| parent | dbb713baa608d3397e56bc32b26d2efe07c756ee (diff) | |
block: constify sect_buf argument of ide_write_data
Add a const keyword to the sect_buf argument of
ide_write_data to fix the following warning:
cmd_ide.c: In function '__ide_output_data':
cmd_ide.c:548: warning: passing argument 2 of 'ide_write_data' discards qualifiers from pointer target type
/devel/u-boot.git/include/ide.h:76: note: expected 'ulong *' but argument is of type 'const ulong *'
Also modify the driver-model documentation to
match with the new prototype.
Compile tested only.
Cc: Macpaul Lin <[email protected]>
Signed-off-by: Gabor Juhos <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
