[PATCH] input: xilinx_ps2: Add missing of_address.h header
Michal Simek
monstr at monstr.eu
Sun Jul 24 23:51:30 EST 2011
Hi Grant,
can you propose this patch to mainline through your devicetree tree?
Thanks,
Michal
Grant Likely wrote:
> 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
>>
>>
>
>
>
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
More information about the devicetree-discuss
mailing list