diff options
Diffstat (limited to 'drivers/sbus/char/jsflash.c')
-rw-r--r-- | drivers/sbus/char/jsflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c index 4ccb5d869389..a40ee1e37486 100644 --- a/drivers/sbus/char/jsflash.c +++ b/drivers/sbus/char/jsflash.c | |||
@@ -207,7 +207,7 @@ static void jsfd_do_request(struct request_queue *q) | |||
207 | goto end; | 207 | goto end; |
208 | } | 208 | } |
209 | 209 | ||
210 | jsfd_read(req->buffer, jdp->dbase + offset, len); | 210 | jsfd_read(bio_data(req->bio), jdp->dbase + offset, len); |
211 | err = 0; | 211 | err = 0; |
212 | end: | 212 | end: |
213 | if (!__blk_end_request_cur(req, err)) | 213 | if (!__blk_end_request_cur(req, err)) |