Re: [PATCH v2 0/2] make POSIX timers optional
From: Richard Cochran
Date: Tue Sep 20 2016 - 16:46:08 EST
On Tue, Sep 20, 2016 at 10:25:56PM +0200, Richard Cochran wrote:
> After this series, if I don't pay enough attention to dmesg, then I
> have lost functionality that I had in step #1. That sucks, and it has
> nothing to do with the tinification option at all. It will bite even
> if I have no knowledge of it. That isn't acceptable to me.
Can't you leave all the "select PTP_1588_CLOCK" alone and simply add
#ifdef CONFIG_POSIX_TIMERS
// global declarations
#else
// static inlines
#endif
to ptp_clock_kernel.h, and then sandwich ptp_clock.c in
#ifdef CONFIG_POSIX_TIMERS ... #endif ?
Thanks,
Richard