loader: remove shouting from ORB's variable name
[hvf.git] / cp / fs / bdev.c
blob6300f26414ebbb2fb97b603a2ec415568061bede
1 /*
2 * (C) Copyright 2007-2011 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
4 * This file is released under the GPLv2. See the COPYING file for more
5 * details.
6 */
8 #include <device.h>
9 #include <bdev.h>
11 int bdev_read_block(struct device *dev, void *buf, int lba)
13 if (!dev->dev->read)
14 return -EINVAL;
16 return dev->dev->read(dev, buf, lba);