11 Jan, 2016

2 commits


22 Aug, 2015

1 commit

  • Warning(.//include/media/media-devnode.h:80): No description found for parameter 'fops'
    Warning(.//include/media/media-devnode.h:80): No description found for parameter 'dev'
    Warning(.//include/media/media-devnode.h:80): No description found for parameter 'cdev'
    Warning(.//include/media/media-devnode.h:80): No description found for parameter 'release'

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

14 May, 2014

1 commit

  • mdev->fops->owner is actually the owner of the very same module which
    implements media_device_register(), so it can't be unloaded anyway. Instead,
    use THIS_MODULE through a macro as does video_register_device().

    Signed-off-by: Sakari Ailus
    Acked-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Sakari Ailus
     

19 Mar, 2013

1 commit


22 Mar, 2011

1 commit

  • The media_devnode structure provides support for registering and
    unregistering character devices using a dynamic major number. Reference
    counting is handled internally, making device drivers easier to write
    without having to solve the open/disconnect race condition issue over
    and over again.

    The code is based on video/v4l2-dev.c.

    [mchehab@redhat.com: Remove linux/smp_lock.h include to not break compilation on bisect]
    Signed-off-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart