提交 8944f4f3 编写于 作者: M Mark Brown 提交者: Grant Likely

spi/spi_s3c64xx: Staticise non-exported functions

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: NJassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 cc0fc0bb
...@@ -447,8 +447,8 @@ static void s3c64xx_spi_config(struct s3c64xx_spi_driver_data *sdd) ...@@ -447,8 +447,8 @@ static void s3c64xx_spi_config(struct s3c64xx_spi_driver_data *sdd)
writel(val, regs + S3C64XX_SPI_CLK_CFG); writel(val, regs + S3C64XX_SPI_CLK_CFG);
} }
void s3c64xx_spi_dma_rxcb(struct s3c2410_dma_chan *chan, void *buf_id, static void s3c64xx_spi_dma_rxcb(struct s3c2410_dma_chan *chan, void *buf_id,
int size, enum s3c2410_dma_buffresult res) int size, enum s3c2410_dma_buffresult res)
{ {
struct s3c64xx_spi_driver_data *sdd = buf_id; struct s3c64xx_spi_driver_data *sdd = buf_id;
unsigned long flags; unsigned long flags;
...@@ -467,8 +467,8 @@ void s3c64xx_spi_dma_rxcb(struct s3c2410_dma_chan *chan, void *buf_id, ...@@ -467,8 +467,8 @@ void s3c64xx_spi_dma_rxcb(struct s3c2410_dma_chan *chan, void *buf_id,
spin_unlock_irqrestore(&sdd->lock, flags); spin_unlock_irqrestore(&sdd->lock, flags);
} }
void s3c64xx_spi_dma_txcb(struct s3c2410_dma_chan *chan, void *buf_id, static void s3c64xx_spi_dma_txcb(struct s3c2410_dma_chan *chan, void *buf_id,
int size, enum s3c2410_dma_buffresult res) int size, enum s3c2410_dma_buffresult res)
{ {
struct s3c64xx_spi_driver_data *sdd = buf_id; struct s3c64xx_spi_driver_data *sdd = buf_id;
unsigned long flags; unsigned long flags;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册