Browse Source

spi: spi-fsl-lib: Make mpc8xxx_spi_work static

'mpc8xxx_spi_work' is used only in this file.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Sachin Kamat 12 years ago
parent
commit
d086432373
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/spi/spi-fsl-lib.c

+ 1 - 1
drivers/spi/spi-fsl-lib.c

@@ -61,7 +61,7 @@ struct mpc8xxx_spi_probe_info *to_of_pinfo(struct fsl_spi_platform_data *pdata)
 	return container_of(pdata, struct mpc8xxx_spi_probe_info, pdata);
 }
 
-void mpc8xxx_spi_work(struct work_struct *work)
+static void mpc8xxx_spi_work(struct work_struct *work)
 {
 	struct mpc8xxx_spi *mpc8xxx_spi = container_of(work, struct mpc8xxx_spi,
 						       work);