[PATCH] sysfs: compile fix, struct file forward declaration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Chris Wright
Date: Tuesday, May 18, 2010 - 3:32 pm

On Tue, May 18, 2010 at 04:44:09PM +1000, Stephen Rothwell wrote:

Add missing forward declaration

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
 include/linux/sysfs.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h
index 2a0d278..f06b1f1 100644
--- a/include/linux/sysfs.h
+++ b/include/linux/sysfs.h
@@ -86,6 +86,7 @@ struct attribute_group {
 
 #define attr_name(_attr) (_attr).attr.name
 
+struct file;
 struct vm_area_struct;
 
 struct bin_attribute {
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: build failure after merge of the driver-core tree, Stephen Rothwell, (Mon May 17, 11:44 pm)
[PATCH] sysfs: compile fix, struct file forward declaration, Chris Wright, (Tue May 18, 3:32 pm)