[PATCH] input: xilinx_ps2: Add missing of_address.h header
Grant Likely
grant.likely at secretlab.ca
Thu Jul 14 01:27:12 EST 2011
On Wed, Jul 13, 2011 at 10:46 PM, Michal Simek <monstr at monstr.eu> wrote:
> Add missing header.
>
> Error log:
> CC drivers/input/serio/xilinx_ps2.o
> drivers/input/serio/xilinx_ps2.c: In function 'xps2_of_probe':
> drivers/input/serio/xilinx_ps2.c:249: error: implicit declaration of function 'of_address_to_resource'
>
> Signed-off-by: Michal Simek <monstr at monstr.eu>
Acked-by: Grant Likely <grant.likely at secretlab.ca>
> ---
> drivers/input/serio/xilinx_ps2.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c
> index 80baa53..d64c5a4 100644
> --- a/drivers/input/serio/xilinx_ps2.c
> +++ b/drivers/input/serio/xilinx_ps2.c
> @@ -23,7 +23,7 @@
> #include <linux/init.h>
> #include <linux/list.h>
> #include <linux/io.h>
> -
> +#include <linux/of_address.h>
> #include <linux/of_device.h>
> #include <linux/of_platform.h>
>
> --
> 1.5.5.6
>
>
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
More information about the devicetree-discuss
mailing list