lkml.org 
[lkml]   [2021]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 02/15] media: ipu3-cio2: Add headers that ipu3-cio2.h is direct user of
    Date
    From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

    Add headers that ipu3-cio2.h is direct user of.

    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Reviewed-by: Daniel Scally <djrscally@gmail.com>
    Tested-by: Daniel Scally <djrscally@gmail.com>
    ---
    Changes in v4:

    - Incorporated so it can be used in a later patch - thanks Andy.
    Not sure if this needs my Signed-off-by since I didn't write
    any part of it. checkpatch.pl --strict doesn't complain at its
    absence so I'm going with no; but let me know if I'm wrong.

    drivers/media/pci/intel/ipu3/ipu3-cio2.h | 18 ++++++++++++++++++
    1 file changed, 18 insertions(+)

    diff --git a/drivers/media/pci/intel/ipu3/ipu3-cio2.h b/drivers/media/pci/intel/ipu3/ipu3-cio2.h
    index ccf0b85ae36f..62187ab5ae43 100644
    --- a/drivers/media/pci/intel/ipu3/ipu3-cio2.h
    +++ b/drivers/media/pci/intel/ipu3/ipu3-cio2.h
    @@ -4,8 +4,26 @@
    #ifndef __IPU3_CIO2_H
    #define __IPU3_CIO2_H

    +#include <linux/bits.h>
    +#include <linux/dma-mapping.h>
    +#include <linux/kernel.h>
    +#include <linux/mutex.h>
    #include <linux/types.h>

    +#include <asm/page.h>
    +
    +#include <media/media-device.h>
    +#include <media/media-entity.h>
    +#include <media/v4l2-async.h>
    +#include <media/v4l2-dev.h>
    +#include <media/v4l2-device.h>
    +#include <media/v4l2-subdev.h>
    +#include <media/videobuf2-core.h>
    +#include <media/videobuf2-v4l2.h>
    +
    +struct cio2_fbpt_entry; /* defined here, after the first usage */
    +struct pci_dev;
    +
    #define CIO2_NAME "ipu3-cio2"
    #define CIO2_DEVICE_NAME "Intel IPU3 CIO2"
    #define CIO2_ENTITY_NAME "ipu3-csi2"
    --
    2.25.1
    \
     
     \ /
      Last update: 2021-01-04 00:16    [W:3.698 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site