pwm: lpss: Move struct pwm_lpss_chip definition to the header file
authorHans de Goede <hdegoede@redhat.com>
Fri, 12 Oct 2018 10:12:26 +0000 (12:12 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 12 Oct 2018 10:31:01 +0000 (12:31 +0200)
commit9dc419b6c7e4bb67c0966758c1e4c9a9c9a4309d
tree25514e4ff65a58bababed218d30770048f9b46a0
parent1688c8717118f37191d824862a006c8373d261de
pwm: lpss: Move struct pwm_lpss_chip definition to the header file

Move struct pwm_lpss_chip definition from pwm-lpss.c to pwm-lpss.h,
so that the pci/platform drivers can access the info member
(struct pwm_lpss_boardinfo *).

This is a preparation patch for adding platform specific quirks, which
the drivers need access to, to pwm_lpss_boardinfo.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-lpss.c
drivers/pwm/pwm-lpss.h