Message ID | 000501cfc2a1$677381a0$365a84e0$%han@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 050429a78b2dbec763a6bb5423ea5a1fcc9adca3 |
Headers | show |
On 28 August 2014 11:21, Jingoo Han <jg1.han@samsung.com> wrote:
> Make local symbol static, because this is used only in this file.
Makes sense, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Aug 28, 2014 at 06:21:09PM +0900, Jingoo Han wrote:
> Make local symbol static, because this is used only in this file.
Applied, thanks.
diff --git a/drivers/spi/spi-bcm53xx.c b/drivers/spi/spi-bcm53xx.c index 48f13dfe7cf0..e6600f783385 100644 --- a/drivers/spi/spi-bcm53xx.c +++ b/drivers/spi/spi-bcm53xx.c @@ -210,7 +210,7 @@ static int bcm53xxspi_transfer_one(struct spi_master *master, * BCMA **************************************************/ -struct spi_board_info bcm53xx_info = { +static struct spi_board_info bcm53xx_info = { .modalias = "bcm53xxspiflash", };
Make local symbol static, because this is used only in this file. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/spi/spi-bcm53xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)