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)