CMake build fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a461c90..d1ed548 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -47,7 +47,6 @@
     core/sock.h
     core/sock.c
     core/sockbase.c
-    core/device.c
     core/symbol.c
 
     aio/ctx.h
@@ -137,6 +136,9 @@
     utils/wire.h
     utils/wire.c
 
+    devices/device.h
+    devices/device.c
+
     protocols/utils/dist.h
     protocols/utils/dist.c
     protocols/utils/excl.h