Re: [Resend Patch 8/9] I2C/ACPI: Move ACPI related code to i2c-acpi.c
From: Mika Westerberg
Date: Tue Apr 22 2014 - 07:31:02 EST
On Tue, Apr 22, 2014 at 02:24:14PM +0800, Lan Tianyu wrote:
> diff --git a/include/linux/i2c.h b/include/linux/i2c.h
> index 681e689..fc1ef42 100644
> --- a/include/linux/i2c.h
> +++ b/include/linux/i2c.h
> @@ -586,7 +586,10 @@ static inline struct i2c_adapter *of_find_i2c_adapter_by_node(struct device_node
> #ifdef CONFIG_ACPI
> int acpi_i2c_install_space_handler(struct i2c_adapter *adapter);
> void acpi_i2c_remove_space_handler(struct i2c_adapter *adapter);
> +void acpi_i2c_register_devices(struct i2c_adapter *adap);
> #else
> +static inline void acpi_i2c_register_devices(struct i2c_adapter *adap) {};
Semicolon is not needed here.
Apart from that,
Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/