yes, that's what I meant :) Don't use ifndef nless nessecary.
Sorry for the unclear wording.
> Hmm. I know this isn't the prefered way of doing it, but so far it's the
> most convenient one - serio.h still changes now and then (adding new
> #defines, etc), and the only one program using it is inputattach.c. To
> me it seems quite sane to have inputattach.c include this kernel header.
> If you know of any other reasonably maintainable way to do it ...
split serio.h into serio_ids.h (the ids used by inputattach.c) and serio.h
(the actual kernel header). Copy over serio_ids.h to the inputattach source
tarball and resync it whenever nessecary.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/