Erik Mouw writes:
> IMHO include/linux/sound.h should include include/linux/fs.h, because
> all register_sound_xxx() functions need a struct file_operations. Is there
> a specific reason why it isn't included?
Do they actually need the declarations of the elements of
"struct file_operations" or just to know that it exists? If the latter,
I would suggest adding "struct file_operations;" instead of yet another
include dependency.
We're rapidly heading for a #include <linux/everything.h> header file -
linux/fs.h and linux/mm.h are two of the major culpits of including
virtually everything else (I think you get about 60% of the include
files if you include those together).
I did have a look at this area, and gave up because it required a major
restructuring.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:20 EST