mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[media] media controller: get rid of entity subtype on Kernel
Don't use anymore the type/subtype entity data/macros inside the Kernel. Acked-by: Hans Verkuil <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
b50bde4e47
commit
687b4209c8
2 changed files with 0 additions and 12 deletions
|
|
@ -185,16 +185,6 @@ struct media_intf_devnode {
|
|||
u32 minor;
|
||||
};
|
||||
|
||||
static inline u32 media_entity_type(struct media_entity *entity)
|
||||
{
|
||||
return entity->type & MEDIA_ENT_TYPE_MASK;
|
||||
}
|
||||
|
||||
static inline u32 media_entity_subtype(struct media_entity *entity)
|
||||
{
|
||||
return entity->type & MEDIA_ENT_SUBTYPE_MASK;
|
||||
}
|
||||
|
||||
static inline u32 media_entity_id(struct media_entity *entity)
|
||||
{
|
||||
return entity->graph_obj.id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue