aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ipack/ipack.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ipack/ipack.c')
-rw-r--r--drivers/ipack/ipack.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/ipack/ipack.c b/drivers/ipack/ipack.c
index 7ec6b208b1cb..4f913aa88971 100644
--- a/drivers/ipack/ipack.c
+++ b/drivers/ipack/ipack.c
@@ -461,6 +461,18 @@ void ipack_device_unregister(struct ipack_device *dev)
461} 461}
462EXPORT_SYMBOL_GPL(ipack_device_unregister); 462EXPORT_SYMBOL_GPL(ipack_device_unregister);
463 463
464void ipack_get_device(struct ipack_device *dev)
465{
466 get_device(&dev->dev);
467}
468EXPORT_SYMBOL_GPL(ipack_get_device);
469
470void ipack_put_device(struct ipack_device *dev)
471{
472 put_device(&dev->dev);
473}
474EXPORT_SYMBOL_GPL(ipack_put_device);
475
464static int __init ipack_init(void) 476static int __init ipack_init(void)
465{ 477{
466 ida_init(&ipack_ida); 478 ida_init(&ipack_ida);