diff mbox

spi: bcm53xx: make local symbol static

Message ID 000501cfc2a1$677381a0$365a84e0$%han@samsung.com (mailing list archive)
State Accepted
Commit 050429a78b2dbec763a6bb5423ea5a1fcc9adca3
Headers show

Commit Message

Jingoo Han Aug. 28, 2014, 9:21 a.m. UTC
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(-)

Comments

Rafał Miłecki Aug. 28, 2014, 9:35 a.m. UTC | #1
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
Mark Brown Aug. 29, 2014, 11:48 a.m. UTC | #2
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 mbox

Patch

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",
 };