[PATCH] net: macb: fix build break with !CONFIG_OF
David Miller
davem at davemloft.net
Wed Dec 21 01:04:46 EST 2011
From: Olof Johansson <olof at lixom.net>
Date: Tue, 20 Dec 2011 13:20:29 -0800
> This fixes the build of the macb driver that was broken by the DT changes:
>
> drivers/net/ethernet/cadence/macb.c:1503: error: implicit declaration of function 'of_match_ptr'
> drivers/net/ethernet/cadence/macb.c:1503: error: 'macb_dt_ids' undeclared here (not in a function)
> drivers/net/ethernet/cadence/macb.c:1503: error: initializer element is not constant
> drivers/net/ethernet/cadence/macb.c:1503: error: (near initialization for 'macb_driver.driver.of_match_table')
>
> Signed-off-by: Olof Johansson <olof at lixom.net>
> ---
>
> Nicolas, care to ack this so I can apply it on top of the macb DT branch in arm-soc?
Yes, please apply it there.
More information about the linux-arm-kernel
mailing list