diff options
Diffstat (limited to 'sound/core/memory.c')
| -rw-r--r-- | sound/core/memory.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/sound/core/memory.c b/sound/core/memory.c index 862d62d2e14..36c0f1a2e18 100644 --- a/sound/core/memory.c +++ b/sound/core/memory.c @@ -1,5 +1,5 @@ /* - * Copyright (c) by Jaroslav Kysela <perex@suse.cz> + * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * * Misc memory accessors * @@ -20,9 +20,10 @@ * */ -#include <linux/config.h> +#include <linux/export.h> #include <asm/io.h> #include <asm/uaccess.h> +#include <sound/core.h> /** * copy_to_user_fromio - copy data from mmio-space to user-space @@ -32,7 +33,7 @@ * * Copies the data from mmio-space to user-space. * - * Returns zero if successful, or non-zero on failure. + * Return: Zero if successful, or non-zero on failure. */ int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count) { @@ -55,6 +56,8 @@ int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size #endif } +EXPORT_SYMBOL(copy_to_user_fromio); + /** * copy_from_user_toio - copy data from user-space to mmio-space * @dst: the destination pointer on mmio-space @@ -63,7 +66,7 @@ int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size * * Copies the data from user-space to mmio-space. * - * Returns zero if successful, or non-zero on failure. + * Return: Zero if successful, or non-zero on failure. */ int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count) { @@ -85,3 +88,5 @@ int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size return 0; #endif } + +EXPORT_SYMBOL(copy_from_user_toio); |
