diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-09-09 07:19:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-01-11 09:19:02 -0500 |
commit | 0b3b72df9018c0386293c2f529b91ed17448288a (patch) | |
tree | deadf2b108f3b6803844315c224ba7688cd7ef70 /include/media/media-entity.h | |
parent | 8ed071426ee48879024c350ae92fc41062039b13 (diff) |
[media] media_entity: remove gfp_flags argument
We should not be creating device nodes at IRQ contexts. So,
the only flags we'll be using will be GFP_KERNEL. Let's
remove the gfp_flags, in order to make the interface simpler.
If we ever need it, it would be easy to revert those changes.
While here, remove an extra blank line.
Suggested-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/media-entity.h')
-rw-r--r-- | include/media/media-entity.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/media/media-entity.h b/include/media/media-entity.h index df84e8eeb24b..cd3f3a77df2d 100644 --- a/include/media/media-entity.h +++ b/include/media/media-entity.h | |||
@@ -71,7 +71,6 @@ struct media_gobj { | |||
71 | struct list_head list; | 71 | struct list_head list; |
72 | }; | 72 | }; |
73 | 73 | ||
74 | |||
75 | struct media_pipeline { | 74 | struct media_pipeline { |
76 | }; | 75 | }; |
77 | 76 | ||
@@ -378,8 +377,7 @@ void media_entity_pipeline_stop(struct media_entity *entity); | |||
378 | struct media_intf_devnode * | 377 | struct media_intf_devnode * |
379 | __must_check media_devnode_create(struct media_device *mdev, | 378 | __must_check media_devnode_create(struct media_device *mdev, |
380 | u32 type, u32 flags, | 379 | u32 type, u32 flags, |
381 | u32 major, u32 minor, | 380 | u32 major, u32 minor); |
382 | gfp_t gfp_flags); | ||
383 | void media_devnode_remove(struct media_intf_devnode *devnode); | 381 | void media_devnode_remove(struct media_intf_devnode *devnode); |
384 | struct media_link * | 382 | struct media_link * |
385 | __must_check media_create_intf_link(struct media_entity *entity, | 383 | __must_check media_create_intf_link(struct media_entity *entity, |