diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-10-05 14:34:17 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-10-11 04:08:42 +0200 |
commit | 0a66991a345f437e957ecc0ddeed70bc304d2a43 (patch) | |
tree | 58c9387203f87d7072a0cca03fa87a3dce920d27 /src/mainboard/lenovo | |
parent | 334fd8e28b6f572dc8a82c7969696c6072709583 (diff) |
acpi: Remove explicit pointer tracking in per-device ssdt.
It's useless and error-prone.
Change-Id: Ie385e147d42b05290ab8c3ca193c5c871306f4ac
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/7018
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r-- | src/mainboard/lenovo/x201/mainboard.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/lenovo/x201/mainboard.c b/src/mainboard/lenovo/x201/mainboard.c index 57ef86dd2a..5b76be2734 100644 --- a/src/mainboard/lenovo/x201/mainboard.c +++ b/src/mainboard/lenovo/x201/mainboard.c @@ -112,11 +112,9 @@ static void mainboard_init(device_t dev) 0x42, 0x142); } -static unsigned long fill_ssdt(unsigned long current, - const char *oem_table_id) +static void fill_ssdt(void) { drivers_lenovo_serial_ports_ssdt_generate("\\_SB.PCI0.LPCB", 0); - return (unsigned long) (acpigen_get_current()); } static void mainboard_enable(device_t dev) |