Add support for Solid-Run CuBox (TDA995x)
[deb_libcec.git] / src / lib / adapter / CuBox / NxpCECAdapterDetection.cpp
index c4d13273fced82335997706ff70b7c470bcd9172..b4b7495a908f8efecc55a961032b934d313a8def 100644 (file)
@@ -33,7 +33,7 @@
 #include "env.h"
 #include <stdio.h>
 
-#if defined(HAVE_NXP_API)
+#if defined(HAVE_TDA995X_API)
 #include "NxpCECAdapterDetection.h"
 
 extern "C" {
@@ -46,10 +46,7 @@ using namespace CEC;
 
 bool CNxpCECAdapterDetection::FindAdapter(void)
 {
-  /* NXP HDMI uses /dev/hdmicec and ioctl() communication */
-
-  return access(CEC_NXP_PATH, 0) == 0;
+  return access(CEC_TDA995x_PATH, 0) == 0;
 }
 
 #endif
-