mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-18 23:54:26 +08:00
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>
This commit is contained in:
parent
c9e587abfd
commit
afe42d7dea
@ -137,7 +137,7 @@ static void blkif_restart_queue_callback(void *arg)
|
||||
schedule_work(&info->work);
|
||||
}
|
||||
|
||||
int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg)
|
||||
static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg)
|
||||
{
|
||||
/* We don't have real geometry info, but let's at least return
|
||||
values consistent with the size of the device */
|
||||
|
Loading…
Reference in New Issue
Block a user