]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf7d6f375ae91ac7791b9ffa01af7fb7dd6c8058
tree1b672640c63260e8d1718c24ed213c3a749b4c0f
parenta8dc7b1eb06e05e3747324940596ac74e548e92a
mv643xx_eth: Fix compile error for architectures without clk.

Commit c510e0ca4 (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