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:
FUJITA Tomonori 2007-03-30 11:19:39 +02:00 committed by Jens Axboe
parent 292b7f2712
commit 4cf0723ac8
2 changed files with 4 additions and 2 deletions

View file

@ -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 { };