diff options
author | Alexandre Bounine <alexandre.bounine@idt.com> | 2016-03-22 14:26:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-22 15:36:02 -0700 |
commit | b6cb95e8eb97e51a1a1b5609b59df859cc6dc2f2 (patch) | |
tree | 9b4f2bdd88833156a48b07ac845ff7c5ec54feeb /include/linux/rio_drv.h | |
parent | 5024622f583eb242ed8040d0b9d1e0d2458d1db8 (diff) | |
download | linux-b6cb95e8eb97e51a1a1b5609b59df859cc6dc2f2.tar.gz linux-b6cb95e8eb97e51a1a1b5609b59df859cc6dc2f2.tar.bz2 linux-b6cb95e8eb97e51a1a1b5609b59df859cc6dc2f2.zip |
rapidio: move rio_pw_enable into core code
Make rio_pw_enable() routine available to other RapidIO drivers.
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/rio_drv.h')
-rw-r--r-- | include/linux/rio_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rio_drv.h b/include/linux/rio_drv.h index 341b3bf78333..9fb2bcd0a987 100644 --- a/include/linux/rio_drv.h +++ b/include/linux/rio_drv.h @@ -375,6 +375,7 @@ extern int rio_request_inb_pwrite(struct rio_dev *, int (*)(struct rio_dev *, union rio_pw_msg*, int)); extern int rio_release_inb_pwrite(struct rio_dev *); extern int rio_inb_pwrite_handler(union rio_pw_msg *pw_msg); +extern void rio_pw_enable(struct rio_mport *mport, int enable); /* LDM support */ int rio_register_driver(struct rio_driver *); |