Re: [PATCH v1 1/4] pps: generators: tio: split pps_gen_tio.h
From: Andy Shevchenko
Date: Thu Feb 27 2025 - 02:19:03 EST
Thu, Feb 27, 2025 at 07:08:43AM +0200, Raag Jadav kirjoitti:
> On Wed, Feb 26, 2025 at 02:45:26PM +0200, Andy Shevchenko wrote:
> > On Wed, Feb 26, 2025 at 11:45:24AM +0530, Raag Jadav wrote:
...
> > > +#include <linux/bitfield.h>
> > > +#include <linux/bits.h>
> > > +#include <linux/hrtimer.h>
> > > +#include <linux/pps_gen_kernel.h>
> > > +#include <linux/spinlock_types.h>
> >
> > This missing time.h and types.h.
>
> Aren't they guaranteed by hrtimer.h and spinlock_types.h?
Nope, why? HR timer is only for HR timer specific definitions and APIs, how
does they are related?
time.h due to NSEC_PER_USEC (or what was there?) and types.h due to u32.
--
With Best Regards,
Andy Shevchenko