summaryrefslogtreecommitdiffstats
path: root/lib/usrp/dboard/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/usrp/dboard/base.cpp')
-rw-r--r--lib/usrp/dboard/base.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/usrp/dboard/base.cpp b/lib/usrp/dboard/base.cpp
index c80cdadeb..82f4b4016 100644
--- a/lib/usrp/dboard/base.cpp
+++ b/lib/usrp/dboard/base.cpp
@@ -10,15 +10,15 @@ using namespace usrp_uhd::usrp::dboard;
* base dboard base class
**********************************************************************/
base::base(ctor_args_t const& args){
- boost::tie(_subdev_index, _dboard_interface) = args;
+ boost::tie(_subdev_name, _dboard_interface) = args;
}
base::~base(void){
/* NOP */
}
-size_t base::get_subdev_index(void){
- return _subdev_index;
+std::string base::get_subdev_name(void){
+ return _subdev_name;
}
interface::sptr base::get_interface(void){