On Mon, 19 Feb 2007, Jiri Kosina wrote:

> On Thu, 15 Feb 2007, Oliver Neukum wrote:
> 
> > To allow testing I am posting the full amalgated patch against 2.6.20.
> 
> Is this patch really against 2.6.20?
> 
> > +extern int sysfs_add_file_to_group(struct kobject *kobj,
> > +           const struct attribute *attr, const char *group);
> > +extern void sysfs_remove_file_from_group(struct kobject *kobj,
> > +           const struct attribute *attr, const char *group);
> 
> I don't know where do these functions come from, and I am not able to find 
> them in v2.6.20. The patch also doesn't define them.
> 
> (besides that, putting extern declarations in the middle of a C source 
> doesn't look beautiful).

The extern declarations are in the middle of a C source file because this
patch was intended for testing only, and I didn't want to be forced to
recompile the entire kernel by changing the timestamp of
include/linux/sysfs.h.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to