Skip to content

Commit

Permalink
media: docs: brainless mass add SPDX headers to all media files
Browse files Browse the repository at this point in the history
All Documentation files outside the uAPI are all licensed with,
at least, GPL 2.0. So, mark them as such.

The ondes at media/uapi are at least GFDL 1.1+.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 5, 2018
1 parent 70100e0 commit f2ac8ce
Show file tree
Hide file tree
Showing 117 changed files with 234 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/media/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

*.pdf
# Files generated from *.dot
uapi/v4l/pipeline.svg
2 changes: 2 additions & 0 deletions Documentation/media/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

# Rules to convert a .h file to inline RST documentation

SRC_DIR=$(srctree)/Documentation/media
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/audio.h.rst.exceptions
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

# Ignore header name
ignore define _DVBAUDIO_H_

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/ca.h.rst.exceptions
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

# Ignore header name
ignore define _DVBCA_H_

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/cec-drivers/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
.. include:: <isonum.txt>

.. _cec-drivers:
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/cec-drivers/pulse8-cec.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Pulse-Eight CEC Adapter driver
==============================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/cec.h.rst.exceptions
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

# Ignore header name
ignore define _CEC_UAPI_H

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# -*- coding: utf-8; mode: python -*-

# SPDX-License-Identifier: GPL-2.0

project = 'Linux Media Subsystem Documentation'

tags.add("subproject")
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/conf_nitpick.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# -*- coding: utf-8; mode: python -*-

# SPDX-License-Identifier: GPL-2.0

project = 'Linux Media Subsystem Documentation'

# It is possible to run Sphinx in nickpick mode with:
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dmx.h.rst.exceptions
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

# Ignore header name
ignore define _UAPI_DVBDMX_H_

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/avermedia.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
HOWTO: Get An Avermedia DVB-T working under Linux
-------------------------------------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/bt8xx.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
How to get the bt8xx cards working
==================================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/cards.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Hardware supported by the linuxtv.org DVB drivers
=================================================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/ci.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Digital TV Conditional Access Interface (CI API)
================================================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/contributors.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Contributors
============

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/dvb-usb.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Idea behind the dvb-usb-framework
=================================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/faq.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
FAQ
===

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/frontends.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
****************
Frontend drivers
****************
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
.. include:: <isonum.txt>

##############################################
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/intro.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Introduction
============

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/lmedm04.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Firmware files for lmedm04 cards
================================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/opera-firmware.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Opera firmware
==============

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/technisat.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
How to set up the Technisat/B2C2 Flexcop devices
================================================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/ttusb-dec.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
TechnoTrend/Hauppauge DEC USB Driver
====================================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/dvb-drivers/udev.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
UDEV rules for DVB
==================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/frontend.h.rst.exceptions
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

# Ignore header name
ignore define _DVBFRONTEND_H_

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Linux Media Subsystem Documentation
===================================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/intro.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
============
Introduction
============
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/cec-core.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
CEC Kernel Support
==================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/csi2.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
MIPI CSI-2
==========

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/dtv-ca.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Digital TV Conditional Access kABI
----------------------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/dtv-common.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Digital TV Common functions
---------------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/dtv-core.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Digital TV (DVB) devices
------------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/dtv-demux.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Digital TV Demux kABI
---------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/dtv-frontend.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Digital TV Frontend kABI
------------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/dtv-net.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Digital TV Network kABI
-----------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/mc-core.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Media Controller devices
------------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/rc-core.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Remote Controller devices
-------------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-async.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
V4L2 async kAPI
^^^^^^^^^^^^^^^
.. kernel-doc:: include/media/v4l2-async.h
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-clocks.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
V4L2 clocks
-----------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-common.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
V4L2 common functions and data structures
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-controls.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
V4L2 Controls
=============

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-core.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Video4Linux devices
-------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-dev.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
Video device' s internal representation
=======================================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-device.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
V4L2 device instance
--------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-dv-timings.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
V4L2 DV Timings functions
^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-event.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
V4L2 events
-----------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-fh.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
V4L2 File handlers
------------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-flash-led-class.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
V4L2 flash functions and data structures
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-fwnode.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0
V4L2 fwnode kAPI
^^^^^^^^^^^^^^^^
.. kernel-doc:: include/media/v4l2-fwnode.h
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-intro.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

Introduction
------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-mc.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

V4L2 Media Controller functions and data structures
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-mediabus.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

V4L2 Media Bus functions and data structures
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-mem2mem.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

V4L2 Memory to Memory functions and data structures
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-rect.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

V4L2 rect helper functions
^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-subdev.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

V4L2 sub-devices
----------------

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-tuner.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

Tuner functions and data structures
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-tveeprom.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

Hauppauge TV EEPROM functions and data structures
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-videobuf.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

.. _vb_framework:

Videobuf Framework
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/kapi/v4l2-videobuf2.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

.. _vb2_framework:

V4L2 videobuf2 functions and data structures
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/lirc.h.rst.exceptions
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

# Ignore header name
ignore define _LINUX_LIRC_H

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/media.h.rst.exceptions
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

# Ignore header name
ignore define __LINUX_MEDIA_H

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/media_kapi.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

.. include:: <isonum.txt>

===================================
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/media_uapi.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: GPL-2.0

.. include:: <isonum.txt>

########################################
Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/net.h.rst.exceptions
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

# Ignore header name
ignore define _DVBNET_H_

Expand Down
2 changes: 2 additions & 0 deletions Documentation/media/uapi/v4l/pipeline.dot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

digraph board {
rankdir=TB
colorscheme=x11
Expand Down
Loading

0 comments on commit f2ac8ce

Please sign in to comment.