ntb: move platform detection to separate function
authorDave Jiang <[email protected]>
Thu, 28 Aug 2014 20:53:07 +0000 (13:53 -0700)
committerJon Mason <[email protected]>
Fri, 17 Oct 2014 11:08:50 +0000 (07:08 -0400)
commitb775e85bdb0395077a23bc072c4a62986883e276
treed4d4a2074844d0949b4668f4422c6ee6ef4956e3
parent6465d02ee15f7a45339b7e7859d0a0f22100ca87
ntb: move platform detection to separate function

Move the platform detection function to separate functions to allow
easier maintenence.

Signed-off-by: Dave Jiang <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
drivers/ntb/ntb_hw.c