From 5170952d14e34b287fdf78d8a28f811ae4582f3d Mon Sep 17 00:00:00 2001 From: Prachi Gupta Date: Thu, 26 Apr 2018 10:13:45 -0500 Subject: p9_io_obus_dccal: add namespace to resolve multiple definition prob in hostboot Change-Id: Ia2d4e4d1c0a2a5e79b02d73932f1003e443d45f0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57893 Reviewed-by: Thi N. Tran Reviewed-by: Christopher W. Steffen Reviewed-by: Roland Veloz Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: Hostboot CI Reviewed-by: Prachi Gupta Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57905 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Christian R. Geddes --- src/import/chips/p9/procedures/hwp/io/p9_io_obus_dccal.C | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/import/chips/p9/procedures/hwp/io/p9_io_obus_dccal.C b/src/import/chips/p9/procedures/hwp/io/p9_io_obus_dccal.C index 1c6c50cc5..8c74590eb 100644 --- a/src/import/chips/p9/procedures/hwp/io/p9_io_obus_dccal.C +++ b/src/import/chips/p9/procedures/hwp/io/p9_io_obus_dccal.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2017 */ +/* Contributors Listed Below - COPYRIGHT 2015,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -61,6 +61,9 @@ // Function Definitions //----------------------------------------------------------------------------- +namespace P9_IO_OBUS_DCCAL +{ + /** * @brief Converts a decimal value to a thermometer code * @param[in] i_dec Decimal Value @@ -636,7 +639,9 @@ fapi_try_exit: return fapi2::current_err; } +} // end namespace P9_IO_OBUS_DCCAL +using namespace P9_IO_OBUS_DCCAL; /** * @brief A I/O Obus Procedure that runs Rx Dccal and Tx Z Impedance calibration -- cgit v1.2.1