mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
bsg: minor bug fixes
This fixes the following minor issues: - add EXPORT_SYMBOL_GPL for bsg_register_queue and bsg_unregister_queue. - shut up gcc warnings Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Jens Axboe <axboe@nelson.home.kernel.dk>
This commit is contained in:
parent
292b7f2712
commit
4cf0723ac8
2 changed files with 4 additions and 2 deletions
|
@ -51,7 +51,7 @@ struct bsg_class_device {
|
|||
struct request_queue *queue;
|
||||
};
|
||||
|
||||
extern int bsg_register_queue(struct request_queue *, char *);
|
||||
extern int bsg_register_queue(struct request_queue *, const char *);
|
||||
extern void bsg_unregister_queue(struct request_queue *);
|
||||
#else
|
||||
struct bsg_class_device { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue