diff --git a/doc/make_constants.py b/doc/make_constants.py
index d2c7a42bcef4119388d0feb8a84c98ca8f823141..d00d9ae29bf2702b9735aafda139522f7e5aa335 100644
--- a/doc/make_constants.py
+++ b/doc/make_constants.py
@@ -111,7 +111,7 @@ const_ext_lookup = {
             "INTEGRATED_MEMORY_NV": nv_devattr,
             "ATTRIBUTE_ASYNC_ENGINE_COUNT_NV": nv_devattr,
             "PCI_BUS_ID_NV": nv_devattr,
-            "PCI_BUS_SLOT_NV": nv_devattr,
+            "PCI_SLOT_ID_NV": nv_devattr,
 
             "DOUBLE_FP_CONFIG":
             ("cl_khr_fp64", "2011.1"),