diff --git a/artiq/devices/__init__.py b/artiq/devices/__init__.py
deleted file mode 100644
index e69de29bb..000000000
diff --git a/artiq/frontend/artiq_ctlmgr.py b/artiq/frontend/artiq_ctlmgr.py
index c16ed9b50..4d8bf2c41 100755
--- a/artiq/frontend/artiq_ctlmgr.py
+++ b/artiq/frontend/artiq_ctlmgr.py
@@ -11,7 +11,7 @@ from artiq.protocols.pc_rpc import Server
 from artiq.protocols.logging import LogForwarder, SourceFilter
 from artiq.tools import (simple_network_args, atexit_register_coroutine,
                          bind_address_from_args, add_common_args)
-from artiq.devices.ctlmgr import ControllerManager
+from artiq.devices.master import ControllerManager
 
 
 def get_argparser():
diff --git a/artiq/devices/ctlmgr.py b/artiq/master/ctlmgr.py
similarity index 100%
rename from artiq/devices/ctlmgr.py
rename to artiq/master/ctlmgr.py
diff --git a/artiq/test/test_ctlmgr.py b/artiq/test/test_ctlmgr.py
index 18ab6bdcd..3090d2104 100644
--- a/artiq/test/test_ctlmgr.py
+++ b/artiq/test/test_ctlmgr.py
@@ -4,7 +4,7 @@ import unittest
 import logging
 import asyncio
 
-from artiq.devices.ctlmgr import Controllers
+from artiq.devices.master import Controllers
 from artiq.protocols.pc_rpc import AsyncioClient
 from artiq.tools import expect_no_log_messages