diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-29 03:59:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:06 -0400 |
commit | afe42d7dea2983faa593d289ab241ffdd94d37b3 (patch) | |
tree | a407fc55cb1328041a031c0a78bc2e6ce38e8330 /drivers/block | |
parent | c9e587abfdec2c2aaa55fab83bcb4972e2f84f9b (diff) |
xen: make blkif_getgeo static
Introduced between 2.6.25-rc2 and -rc3
drivers/block/xen-blkfront.c:139:5: warning: symbol 'blkif_getgeo' was not declared. Should it be static?
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/xen-blkfront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index d771da816d95..f2fff5799ddf 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c | |||
@@ -137,7 +137,7 @@ static void blkif_restart_queue_callback(void *arg) | |||
137 | schedule_work(&info->work); | 137 | schedule_work(&info->work); |
138 | } | 138 | } |
139 | 139 | ||
140 | int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg) | 140 | static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg) |
141 | { | 141 | { |
142 | /* We don't have real geometry info, but let's at least return | 142 | /* We don't have real geometry info, but let's at least return |
143 | values consistent with the size of the device */ | 143 | values consistent with the size of the device */ |