Re: [PATCH v1 1/3] driver core: Split device data types to device/types.h

From: Rafael J. Wysocki

Date: Mon Feb 23 2026 - 15:54:16 EST


On Mon, Feb 23, 2026 at 9:44 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> device.h is a huge header which is hard to follow and easy to miss
> something. Improve that by splitting device data types to device/types.h.
>
> In particular this helps to speedup the build of the code that includes
> device.h solely for a device data types.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

But why do you want to move the struct device definition out of device.h?