aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/media-entity.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/media-entity.c')
-rw-r--r--drivers/media/media-entity.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
index 246d7e65aded..5f61642b2a97 100644
--- a/drivers/media/media-entity.c
+++ b/drivers/media/media-entity.c
@@ -866,12 +866,11 @@ static void media_interface_init(struct media_device *mdev,
struct media_intf_devnode *media_devnode_create(struct media_device *mdev,
u32 type, u32 flags,
- u32 major, u32 minor,
- gfp_t gfp_flags)
+ u32 major, u32 minor)
{
struct media_intf_devnode *devnode;
- devnode = kzalloc(sizeof(*devnode), gfp_flags);
+ devnode = kzalloc(sizeof(*devnode), GFP_KERNEL);
if (!devnode)
return NULL;