mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 12:14:06 +00:00
pwm: lpss: Include headers we are the direct user of
For the sake of integrity, include headers we are the direct user of. Replace the inclusion of device.h by a forward declaration of struct device plus a (cheaper) of types.h as device.h is an expensive include (measured in compiler effort). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Thierry Reding <thierry.reding@gmail.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
This commit is contained in:
parent
739f90fc48
commit
878cf979c1
1 changed files with 3 additions and 1 deletions
|
@ -10,8 +10,10 @@
|
|||
#ifndef __PWM_LPSS_H
|
||||
#define __PWM_LPSS_H
|
||||
|
||||
#include <linux/device.h>
|
||||
#include <linux/pwm.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
struct device;
|
||||
|
||||
#define LPSS_MAX_PWMS 4
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue