summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc/dgnc_utils.h
diff options
context:
space:
mode:
authorKonrad Zapalowicz2014-08-06 14:21:23 +0200
committerGreg Kroah-Hartman2014-08-16 21:23:13 +0200
commit9a633d00d14129b5865502a0f45c160f523b446f (patch)
tree7fea10edd85762fecc0983a85e71d9d052ab5feb /drivers/staging/dgnc/dgnc_utils.h
parentstaging: dgnc: Remove unnecessary functions from dgnc_driver.c (diff)
downloadkernel-qcow2-linux-9a633d00d14129b5865502a0f45c160f523b446f.tar.gz
kernel-qcow2-linux-9a633d00d14129b5865502a0f45c160f523b446f.tar.xz
kernel-qcow2-linux-9a633d00d14129b5865502a0f45c160f523b446f.zip
staging: dgnc: Move utility functions out of dgnc_driver.c
This commit moves the utility functions out of dgnc_driver.c file and puts them in the new dgnc_utils.{c,h} files. The accompanying changes adjust the existing code to work with this design. Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc/dgnc_utils.h')
-rw-r--r--drivers/staging/dgnc/dgnc_utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/staging/dgnc/dgnc_utils.h b/drivers/staging/dgnc/dgnc_utils.h
new file mode 100644
index 000000000000..cebf60163a26
--- /dev/null
+++ b/drivers/staging/dgnc/dgnc_utils.h
@@ -0,0 +1,7 @@
+#ifndef __DGNC_UTILS_H
+#define __DGNC_UTILS_H
+
+int dgnc_ms_sleep(ulong ms);
+char *dgnc_ioctl_name(int cmd);
+
+#endif