mv643xx_eth: Fix compile error for architectures without clk.
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jun 2012 06:40:43 +0000 (06:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jun 2012 17:38:38 +0000 (10:38 -0700)
commit9a43a02648e8414b2a757437820aa928208fc42f
tree1b672640c63260e8d1718c24ed213c3a749b4c0f
parentba27ec66ffeb78cbf9f85e168b32551a9aaf2a34
mv643xx_eth: Fix compile error for architectures without clk.

Commit 452503ebc (ARM: Orion: Eth: Add clk/clkdev support.) broke
the building of the driver on architectures which don't have clk
support. In particular PPC32 Pegasos which uses this driver.

Add #ifdef around the clk API usage.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c