]> Gentwo Git Trees - linux/.git/commit
cpuidle: Update header inclusion
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Nov 2025 20:57:52 +0000 (21:57 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Nov 2025 18:04:29 +0000 (19:04 +0100)
commit6d96ceff9aeb7e7a1713faaccf472f363cc6d48f
treea7a57733f158933ec08e354b3ad9feb41a9af51a
parent15bfdadd617ec5363802f7cb6a0385b6569f374e
cpuidle: Update header inclusion

While cleaning up some headers, I got a build error on this file:

drivers/cpuidle/poll_state.c:52:2: error: call to undeclared library function 'snprintf' with type 'int (char *restrict, unsigned long, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Update header inclusions to follow IWYU (Include What You Use)
principle.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251124205752.1328701-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/poll_state.c