Commit c4bae98c authored by Jean Delvare's avatar Jean Delvare Committed by Matthew Garrett

acerhdf: Clean up includes

* The acerhdf driver isn't an ACPI driver, so it needs not include
  <acpi/acpi_drivers.h>. All it uses is ec_read() and ec_write(), for
  which <linux/acpi.h> is sufficient.
* I couldn't find any reason why <linux/fs.h> and <linux/sched.h> were
  included.

This should avoid unneeded rebuilds of the acerhdf driver.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Cc: Peter Feuerer <peter@piie.net>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent e569b223
...@@ -35,10 +35,8 @@ ...@@ -35,10 +35,8 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/fs.h>
#include <linux/dmi.h> #include <linux/dmi.h>
#include <acpi/acpi_drivers.h> #include <linux/acpi.h>
#include <linux/sched.h>
#include <linux/thermal.h> #include <linux/thermal.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment