summaryrefslogtreecommitdiffstats
path: root/drivers/siox/siox.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drivers/siox/siox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/siox/siox.h b/drivers/siox/siox.h
index f08b43b713..513f2c8312 100644
--- a/drivers/siox/siox.h
+++ b/drivers/siox/siox.h
@@ -45,5 +45,9 @@ static inline void siox_master_put(struct siox_master *smaster)
put_device(&smaster->dev);
}
+struct siox_master *devm_siox_master_alloc(struct device *dev, size_t size);
+
int siox_master_register(struct siox_master *smaster);
void siox_master_unregister(struct siox_master *smaster);
+
+int devm_siox_master_register(struct device *dev, struct siox_master *smaster);