1
0
Fork 0

[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 <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
steinar/wifi_calib_4_9_kernel
Mauro Carvalho Chehab 2015-05-07 22:12:39 -03:00
parent b50bde4e47
commit 687b4209c8
2 changed files with 0 additions and 12 deletions

View File

@ -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;

View File

@ -42,8 +42,6 @@ struct media_device_info {
#define MEDIA_ENT_ID_FLAG_NEXT (1 << 31)
/* Used values for media_entity_desc::type */
/*
* Initial value to be used when a new entity is created
* Drivers should change it to something useful