![Ulf Hansson](/assets/img/avatar_default.png)
This is the first step in cleaning up the private mmc header files. In this change we makes sure each header file builds standalone, as that helps to resolve dependencies. While changing this, it also seems reasonable to stop including other headers from inside a header itself which it don't depend upon. Additionally, in some cases such dependencies are better resolved by forward declaring the needed struct. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
16 lines
284 B
C
16 lines
284 B
C
/*
|
|
* Copyright (C) 2014 Linaro Ltd
|
|
*
|
|
* Author: Ulf Hansson <ulf.hansson@linaro.org>
|
|
*
|
|
* License terms: GNU General Public License (GPL) version 2
|
|
*/
|
|
#ifndef _MMC_CORE_SLOTGPIO_H
|
|
#define _MMC_CORE_SLOTGPIO_H
|
|
|
|
struct mmc_host;
|
|
|
|
int mmc_gpio_alloc(struct mmc_host *host);
|
|
|
|
#endif
|