2007-12-08 20:53:59

by Marcin Ślusarz

[permalink] [raw]
Subject: [PATCH] sound/core/memory.c: include sound/core.h

sound/core/memory.c: include sound/core.h

copy_to_user_fromio and copy_from_user_toio are declared in sound/core.h
but sound/core/memory.c doesn't include it - fix it

depends on: "[PATCH] sound/core.h: include sound/driver.h"

Signed-off-by: Marcin Ślusarz <[email protected]>
---
sound/core/memory.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/core/memory.c b/sound/core/memory.c
index 25b0f05..0420056 100644
--- a/sound/core/memory.c
+++ b/sound/core/memory.c
@@ -23,6 +23,7 @@
#include <linux/module.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