drivers/net: Use of_match_ptr() macro in smsc911x.c
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 19 Dec 2012 01:17:10 +0000 (01:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2012 20:50:07 +0000 (12:50 -0800)
commitd62fdf8b681550881b3fb85f335eaf8e36b971b7
tree4b81bf4597ec7e440140fc5499db15e41f479a80
parent89ce376c6bdc936515147ff14f8a62cead965683
drivers/net: Use of_match_ptr() macro in smsc911x.c

Add CONFIG_OF guard and use of_match_ptr macro.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c