summaryrefslogtreecommitdiffstats
path: root/include/linux/ipack.h
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>2013-03-08 09:21:46 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 12:23:09 -0700
commitfa882867ae5f8543eb304a1667563f1c99514475 (patch)
tree09708f13145ee8eb65cfc3f191644bb89154e387 /include/linux/ipack.h
parent1116575d918a7d5fe6d1adf46c5bbdf11dcec51b (diff)
downloadblackbird-obmc-linux-fa882867ae5f8543eb304a1667563f1c99514475.tar.gz
blackbird-obmc-linux-fa882867ae5f8543eb304a1667563f1c99514475.zip
ipack: add ipack_get_device() ipack_put_device()
Prepare everything for later use. Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/ipack.h')
-rw-r--r--include/linux/ipack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ipack.h b/include/linux/ipack.h
index fea12cbb2aeb..def91fd996f4 100644
--- a/include/linux/ipack.h
+++ b/include/linux/ipack.h
@@ -221,6 +221,9 @@ void ipack_driver_unregister(struct ipack_driver *edrv);
int ipack_device_register(struct ipack_device *dev);
void ipack_device_unregister(struct ipack_device *dev);
+void ipack_get_device(struct ipack_device *dev);
+void ipack_put_device(struct ipack_device *dev);
+
/**
* DEFINE_IPACK_DEVICE_TABLE - macro used to describe a IndustryPack table
* @_table: device table name
OpenPOWER on IntegriCloud