diff options
| author | 2013-09-17 00:59:54 +0100 | |
|---|---|---|
| committer | 2013-09-17 00:59:54 +0100 | |
| commit | fbce71cae72f9f8fd1f2d00e0d47d6cc5f74e2e1 (patch) | |
| tree | a883297030b85f1fca55bd6b3c787d9f0753c999 /include/linux | |
| parent | spi: spi-s3c64xx: Use module_platform_driver() (diff) | |
| parent | spi: core: Add devm_spi_register_master() (diff) | |
Merge remote-tracking branch 'spi/topic/devm' into spi-s3c64xx
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/spi/spi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 887116dbce2c..4d634d66ba0b 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -434,6 +434,8 @@ extern struct spi_master * spi_alloc_master(struct device *host, unsigned size); extern int spi_register_master(struct spi_master *master); +extern int devm_spi_register_master(struct device *dev, + struct spi_master *master); extern void spi_unregister_master(struct spi_master *master); extern struct spi_master *spi_busnum_to_master(u16 busnum); |
