Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10ce0473 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown
Browse files

spi/s3c64xx: Add missing static storage class specifiers



Silences the following sparse warnings:
drivers/spi/spi-s3c64xx.c:1482:32: warning:
symbol 's3c2443_spi_port_config' was not declared. Should it be static?
drivers/spi/spi-s3c64xx.c:1489:32: warning:
symbol 's3c6410_spi_port_config' was not declared. Should it be static?
drivers/spi/spi-s3c64xx.c:1495:32: warning:
symbol 's5p64x0_spi_port_config' was not declared. Should it be static?
drivers/spi/spi-s3c64xx.c:1501:32: warning:
symbol 's5pc100_spi_port_config' was not declared. Should it be static?
drivers/spi/spi-s3c64xx.c:1508:32: warning:
symbol 's5pv210_spi_port_config' was not declared. Should it be static?
drivers/spi/spi-s3c64xx.c:1515:32: warning:
symbol 'exynos4_spi_port_config' was not declared. Should it be static?

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 0d7614f0
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -1479,40 +1479,40 @@ static const struct dev_pm_ops s3c64xx_spi_pm = {
			   s3c64xx_spi_runtime_resume, NULL)
			   s3c64xx_spi_runtime_resume, NULL)
};
};


struct s3c64xx_spi_port_config s3c2443_spi_port_config = {
static struct s3c64xx_spi_port_config s3c2443_spi_port_config = {
	.fifo_lvl_mask	= { 0x7f },
	.fifo_lvl_mask	= { 0x7f },
	.rx_lvl_offset	= 13,
	.rx_lvl_offset	= 13,
	.tx_st_done	= 21,
	.tx_st_done	= 21,
	.high_speed	= true,
	.high_speed	= true,
};
};


struct s3c64xx_spi_port_config s3c6410_spi_port_config = {
static struct s3c64xx_spi_port_config s3c6410_spi_port_config = {
	.fifo_lvl_mask	= { 0x7f, 0x7F },
	.fifo_lvl_mask	= { 0x7f, 0x7F },
	.rx_lvl_offset	= 13,
	.rx_lvl_offset	= 13,
	.tx_st_done	= 21,
	.tx_st_done	= 21,
};
};


struct s3c64xx_spi_port_config s5p64x0_spi_port_config = {
static struct s3c64xx_spi_port_config s5p64x0_spi_port_config = {
	.fifo_lvl_mask	= { 0x1ff, 0x7F },
	.fifo_lvl_mask	= { 0x1ff, 0x7F },
	.rx_lvl_offset	= 15,
	.rx_lvl_offset	= 15,
	.tx_st_done	= 25,
	.tx_st_done	= 25,
};
};


struct s3c64xx_spi_port_config s5pc100_spi_port_config = {
static struct s3c64xx_spi_port_config s5pc100_spi_port_config = {
	.fifo_lvl_mask	= { 0x7f, 0x7F },
	.fifo_lvl_mask	= { 0x7f, 0x7F },
	.rx_lvl_offset	= 13,
	.rx_lvl_offset	= 13,
	.tx_st_done	= 21,
	.tx_st_done	= 21,
	.high_speed	= true,
	.high_speed	= true,
};
};


struct s3c64xx_spi_port_config s5pv210_spi_port_config = {
static struct s3c64xx_spi_port_config s5pv210_spi_port_config = {
	.fifo_lvl_mask	= { 0x1ff, 0x7F },
	.fifo_lvl_mask	= { 0x1ff, 0x7F },
	.rx_lvl_offset	= 15,
	.rx_lvl_offset	= 15,
	.tx_st_done	= 25,
	.tx_st_done	= 25,
	.high_speed	= true,
	.high_speed	= true,
};
};


struct s3c64xx_spi_port_config exynos4_spi_port_config = {
static struct s3c64xx_spi_port_config exynos4_spi_port_config = {
	.fifo_lvl_mask	= { 0x1ff, 0x7F, 0x7F },
	.fifo_lvl_mask	= { 0x1ff, 0x7F, 0x7F },
	.rx_lvl_offset	= 15,
	.rx_lvl_offset	= 15,
	.tx_st_done	= 25,
	.tx_st_done	= 25,