mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
disk/part.c: make local function static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
@ -57,7 +57,7 @@ static const struct block_drvr block_drvr[] = {
|
|||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
#ifdef HAVE_BLOCK_DEVICE
|
#ifdef HAVE_BLOCK_DEVICE
|
||||||
block_dev_desc_t *get_dev_hwpart(const char *ifname, int dev, int hwpart)
|
static block_dev_desc_t *get_dev_hwpart(const char *ifname, int dev, int hwpart)
|
||||||
{
|
{
|
||||||
const struct block_drvr *drvr = block_drvr;
|
const struct block_drvr *drvr = block_drvr;
|
||||||
block_dev_desc_t* (*reloc_get_dev)(int dev);
|
block_dev_desc_t* (*reloc_get_dev)(int dev);
|
||||||
|
Reference in New Issue
Block a user