diff --git a/doc/reference.rst b/doc/reference.rst
index 4239a498a2f50e582d7625a694c29a90fbc00b76..a1820e219d60b36994303b8ae3d19ba3dea3ab8b 100644
--- a/doc/reference.rst
+++ b/doc/reference.rst
@@ -37,7 +37,7 @@ Specifying Types
 
 :mod:`loopy` uses the same type system as :mod:`numpy`. (See
 :class:`numpy.dtype`) It also uses :mod:`pyopencl` for a registry of
-user-defined types and their C equivalents. See :func:`pyopencl.get_or_register_dtype`
+user-defined types and their C equivalents. See :func:`pyopencl.tools.get_or_register_dtype`
 and related functions.
 
 For a string representation of types, all numpy types (e.g. ``float32`` etc.)