-
由 Connor Hansen 提交于
int i is only needed if CONFIG_ACPI is set so move it within a new ifdef so kernels without ACPI don't allocate space for nothing. Fixes warning too. Signed-off-by: NConnor Hansen <cmdkhh@gmail.com> Signed-off-by: NPeter Jones <pjones@redhat.com> [v2: Fixed warning when CONFIG_ACPI was defined] Signed-off-by: NKonrad Rzeszutek Wilk <konrad@kernel.org>
7f20caff