diff options
author | Konrad Zapalowicz <bergo.torino@gmail.com> | 2014-08-06 14:21:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-16 12:23:13 -0700 |
commit | 9a633d00d14129b5865502a0f45c160f523b446f (patch) | |
tree | 7fea10edd85762fecc0983a85e71d9d052ab5feb /drivers/staging/dgnc/dgnc_utils.h | |
parent | bbecbacbed32db649c10d1d4e0a6045b4f4d4750 (diff) | |
download | op-kernel-dev-9a633d00d14129b5865502a0f45c160f523b446f.zip op-kernel-dev-9a633d00d14129b5865502a0f45c160f523b446f.tar.gz |
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.h | 7 |
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 0000000..cebf601 --- /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 |