mdpy_type
const struct mdpy_type *type;
const struct mdpy_type *type =
container_of(mdev->type, struct mdpy_type, type);
struct mdpy_type *type = container_of(mtype, struct mdpy_type, type);