Re: [spi-devel-general] [PATCH 2/2] spi/spi_s3c64xx: Staticisenon-exported functions

From: Jassi Brar
Date: Fri Aug 20 2010 - 21:53:06 EST


On Sat, Aug 21, 2010 at 1:17 AM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> Âdrivers/spi/spi_s3c64xx.c | Â Â8 ++++----
> Â1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/spi/spi_s3c64xx.c b/drivers/spi/spi_s3c64xx.c
> index a0b63b7..7e627f7 100644
> --- a/drivers/spi/spi_s3c64xx.c
> +++ b/drivers/spi/spi_s3c64xx.c
> @@ -447,8 +447,8 @@ static void s3c64xx_spi_config(struct s3c64xx_spi_driver_data *sdd)
> Â Â Â Âwritel(val, regs + S3C64XX_SPI_CLK_CFG);
> Â}
>
> -void s3c64xx_spi_dma_rxcb(struct s3c2410_dma_chan *chan, void *buf_id,
> - Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â int size, enum s3c2410_dma_buffresult res)
> +static void s3c64xx_spi_dma_rxcb(struct s3c2410_dma_chan *chan, void *buf_id,
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âint size, enum s3c2410_dma_buffresult res)
> Â{
> Â Â Â Âstruct s3c64xx_spi_driver_data *sdd = buf_id;
> Â Â Â Âunsigned long flags;
> @@ -467,8 +467,8 @@ void s3c64xx_spi_dma_rxcb(struct s3c2410_dma_chan *chan, void *buf_id,
> Â Â Â Âspin_unlock_irqrestore(&sdd->lock, flags);
> Â}
>
> -void s3c64xx_spi_dma_txcb(struct s3c2410_dma_chan *chan, void *buf_id,
> - Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â int size, enum s3c2410_dma_buffresult res)
> +static void s3c64xx_spi_dma_txcb(struct s3c2410_dma_chan *chan, void *buf_id,
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âint size, enum s3c2410_dma_buffresult res)
> Â{
> Â Â Â Âstruct s3c64xx_spi_driver_data *sdd = buf_id;
> Â Â Â Âunsigned long flags;

Oh, yes. What was I thinking ?!

Acked-by: Jassi Brar <jassisinghbrar@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/