net: macb: fix build break with !CONFIG_OF
commitb17471f5d121a53be1ccf6e0b0599441e56b468c
authorOlof Johansson <olof@lixom.net>
Tue, 20 Dec 2011 21:13:07 +0000 (20 13:13 -0800)
committerOlof Johansson <olof@lixom.net>
Wed, 21 Dec 2011 21:57:25 +0000 (21 13:57 -0800)
treeafe7304992d3ce9ff4f5a90922b864bb4c401205
parent06d123e0984424505eedd09981f1bafc3c38de78
net: macb: fix build break with !CONFIG_OF

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@lixom.net>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/net/ethernet/cadence/macb.c