summaryrefslogtreecommitdiff
path: root/include/linux/bsg.h
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2007-03-30 11:19:39 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-07-16 08:52:46 +0200
commit4cf0723ac89b5f2189da2ad07ef875de26b83c77 (patch)
tree24af887ee01094740f4e3c672bd614b9d5db69bc /include/linux/bsg.h
parent292b7f27129272c9ec0ee5fa56abb6f9061b1d83 (diff)
downloadkernel-common-4cf0723ac89b5f2189da2ad07ef875de26b83c77.tar.gz
kernel-common-4cf0723ac89b5f2189da2ad07ef875de26b83c77.tar.bz2
kernel-common-4cf0723ac89b5f2189da2ad07ef875de26b83c77.zip
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>
Diffstat (limited to 'include/linux/bsg.h')
-rw-r--r--include/linux/bsg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/bsg.h b/include/linux/bsg.h
index 0475a6d3ff6a..0dd01f90ba5e 100644
--- a/include/linux/bsg.h
+++ b/include/linux/bsg.h
@@ -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 { };