Skip to content

Commit

Permalink
Merge branch 'spi/for-3.2' of git://git.pengutronix.de/git/wsa/linux-2.6
Browse files Browse the repository at this point in the history
* 'spi/for-3.2' of git://git.pengutronix.de/git/wsa/linux-2.6:
  spi/gpio: fix section mismatch warning
  spi/fsl-espi: disable CONFIG_SPI_FSL_ESPI=m build
  spi/nuc900: Include linux/module.h
  spi/ath79: fix compile error due to missing include
  • Loading branch information
Linus Torvalds committed Dec 9, 2011
2 parents af209e0 + c65b53b commit e2f4e0b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/spi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ config SPI_FSL_LIB
depends on FSL_SOC

config SPI_FSL_SPI
tristate "Freescale SPI controller"
bool "Freescale SPI controller"
depends on FSL_SOC
select SPI_FSL_LIB
help
Expand All @@ -208,7 +208,7 @@ config SPI_FSL_SPI
MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.

config SPI_FSL_ESPI
tristate "Freescale eSPI controller"
bool "Freescale eSPI controller"
depends on FSL_SOC
select SPI_FSL_LIB
help
Expand Down
1 change: 1 addition & 0 deletions drivers/spi/spi-ath79.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
*/

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
Expand Down
4 changes: 2 additions & 2 deletions drivers/spi/spi-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ static void spi_gpio_cleanup(struct spi_device *spi)
spi_bitbang_cleanup(spi);
}

static int __init spi_gpio_alloc(unsigned pin, const char *label, bool is_in)
static int __devinit spi_gpio_alloc(unsigned pin, const char *label, bool is_in)
{
int value;

Expand All @@ -270,7 +270,7 @@ static int __init spi_gpio_alloc(unsigned pin, const char *label, bool is_in)
return value;
}

static int __init
static int __devinit
spi_gpio_request(struct spi_gpio_platform_data *pdata, const char *label,
u16 *res_flags)
{
Expand Down
1 change: 1 addition & 0 deletions drivers/spi/spi-nuc900.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*
*/

#include <linux/module.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/workqueue.h>
Expand Down

0 comments on commit e2f4e0b

Please sign in to comment.