rewrite the device subsystem interfaces (#48)
[lunaix-os.git] / lunaix-os / hal / gfxa / gfxm.c
index 27d1531d77f67a17b072bf24cbc9f481c946ac25..a58e88c0a2c3675b896a3758032d4d37656ecfab 100644 (file)
@@ -13,7 +13,7 @@ DECLARE_HASHTABLE(gfxa_idset, 8);
 struct device_cat* gfxa_devcat = NULL;
 static int id = 0;
 
-static struct devclass gfxa_class = DEVCLASS(DEV_BUILTIN, DEVFN_DISP, DEV_GFXA);
+static struct devclass gfxa_class = DEVCLASS(GENERIC, DISP, GFXA);
 
 static int
 __gfxa_cmd_router(struct device* dev, u32_t req, va_list args)