linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] documentation: fix firmware_sample_firmware_class to build
@ 2008-02-19  0:22 Randy Dunlap
  2008-02-19  0:32 ` David Rientjes
  2008-02-20  6:46 ` [PATCH] documentation: fix firmware_sample_firmware_class to build Greg KH
  0 siblings, 2 replies; 12+ messages in thread
From: Randy Dunlap @ 2008-02-19  0:22 UTC (permalink / raw)
  To: lkml; +Cc: akpm

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix firmware_sample_firmware_class module to build without error.
sysfs.h already has the function prototypes and has them correctly.

Documentation/firmware_class/firmware_sample_firmware_class.c:37: error: conflicting types for 'sysfs_remove_bin_file'
include/linux/sysfs.h:100: error: previous declaration of 'sysfs_remove_bin_file' was here

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 Documentation/firmware_class/firmware_sample_firmware_class.c |    3 ---
 1 file changed, 3 deletions(-)

--- linux-2625-rc2-docsrc.orig/Documentation/firmware_class/firmware_sample_firmware_class.c
+++ linux-2625-rc2-docsrc/Documentation/firmware_class/firmware_sample_firmware_class.c
@@ -33,9 +33,6 @@ struct class_device_attribute *to_class_
 	return container_of(_attr,struct class_device_attribute,attr);
 }
 
-int sysfs_create_bin_file(struct kobject * kobj, struct bin_attribute * attr);
-int sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr);
-
 struct firmware_priv {
 	char fw_id[FIRMWARE_NAME_MAX];
 	s32 loading:2;

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-02-21  0:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-19  0:22 [PATCH] documentation: fix firmware_sample_firmware_class to build Randy Dunlap
2008-02-19  0:32 ` David Rientjes
2008-02-19  0:51   ` David Rientjes
2008-02-19 22:40     ` Randy Dunlap
2008-02-20  1:39       ` [patch] sysfs: small header file cleanup David Rientjes
2008-02-20  4:17         ` Randy Dunlap
2008-02-20  6:46 ` [PATCH] documentation: fix firmware_sample_firmware_class to build Greg KH
2008-02-20 20:10   ` Randy Dunlap
2008-02-20 20:40     ` Greg KH
2008-02-20 21:20       ` [PATCH 1/2] firmware: move firmware_class from Documentation/ to samples/ Randy Dunlap
2008-02-20 21:48         ` Marcel Holtmann
2008-02-21  0:07         ` patch firmware-move-firmware_class-from-documentation-to-samples.patch added to gregkh-2.6 tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).