mirror of https://gitee.com/openkylin/linux.git
Staging: adis16255: add proper section markings to hotplug funcs
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
08a16d9f0e
commit
c3dee74f52
|
@ -361,7 +361,7 @@ static int spi_adis16255_bringup(struct spi_adis16255_data *spiadis)
|
|||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
static int spi_adis16255_probe(struct spi_device *spi)
|
||||
static int __devinit spi_adis16255_probe(struct spi_device *spi)
|
||||
{
|
||||
|
||||
struct adis16255_init_data *init_data = spi->dev.platform_data;
|
||||
|
@ -421,7 +421,7 @@ static int spi_adis16255_probe(struct spi_device *spi)
|
|||
return status;
|
||||
}
|
||||
|
||||
static int spi_adis16255_remove(struct spi_device *spi)
|
||||
static int __devexit spi_adis16255_remove(struct spi_device *spi)
|
||||
{
|
||||
struct spi_adis16255_data *spiadis = dev_get_drvdata(&spi->dev);
|
||||
|
||||
|
|
Loading…
Reference in New Issue