On Tue, Feb 01, 2005 at 02:30:08PM -0800, Greg KH wrote: > On Tue, Feb 01, 2005 at 11:23:27PM +0100, Sam Ravnborg wrote: > > On Tue, Feb 01, 2005 at 02:05:52PM -0800, Greg KH wrote: > > > > drivers/sh/Makefile | 6 > > > > drivers/sh/superhyway/Makefile | 7 + > > > > drivers/sh/superhyway/superhyway-sysfs.c | 45 ++++++ > > > > drivers/sh/superhyway/superhyway.c | 201 > > > > +++++++++++++++++++++++++++++++ > > > > include/linux/superhyway.h | 79 ++++++++++++ > > > > 5 files changed, 338 insertions(+) > > > > Why does it need a .h file in include/linux/? > > Only use include/linux/* for .h files which is used by other parts of > > the kernel. > > > > [I've lost the original mail - so cannot see the actual source]. > > Other parts of the kernel will use that .h file when they register > themselves with the sh bus. Right Paul? > Yes, that's correct. Any driver with a SuperHyway device will need it, and this will be on multiple architectures (sh and sh64).
pgpB4EWeu4zIo.pgp
Description: PGP signature