Merge tag 'docs-5.19-2' of git://git.lwn.net/linux
Pull documentation fixes from Jonathan Corbet: "A handful of late-arriving documentation fixes and the addition of an SVG tux logo which, I'm assured, we're going to want" * tag 'docs-5.19-2' of git://git.lwn.net/linux: documentation: Format button_dev as a pointer. docs: add SVG version of the Linux logo docs: move Linux logo into a new `images` folder docs: blockdev: change title to match section content docs/conf.py: Cope with removal of language=None in Sphinx 5.0.0
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
.. SPDX-License-Identifier: GPL-2.0
|
.. SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
===========================
|
=============
|
||||||
The Linux RapidIO Subsystem
|
Block Devices
|
||||||
===========================
|
=============
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
@ -161,7 +161,7 @@ finally:
|
|||||||
#
|
#
|
||||||
# This is also used if you do content translation via gettext catalogs.
|
# This is also used if you do content translation via gettext catalogs.
|
||||||
# Usually you set "language" from the command line for these cases.
|
# Usually you set "language" from the command line for these cases.
|
||||||
language = None
|
language = 'en'
|
||||||
|
|
||||||
# There are two options for replacing |today|: either, you set today to some
|
# There are two options for replacing |today|: either, you set today to some
|
||||||
# non-false value, then it is used:
|
# non-false value, then it is used:
|
||||||
|
@ -11,3 +11,11 @@ Larry's web-page:
|
|||||||
|
|
||||||
https://www.isc.tamu.edu/~lewing/linux/
|
https://www.isc.tamu.edu/~lewing/linux/
|
||||||
|
|
||||||
|
The SVG version was re-illustrated in vector by Garrett LeSage and
|
||||||
|
refined and cleaned up by IFo Hancroft. It is also freely usable
|
||||||
|
as long as you acknowledge Larry, Garrett and IFo as above.
|
||||||
|
|
||||||
|
There are also black-and-white and inverted vector versions at
|
||||||
|
Garrett's repository:
|
||||||
|
|
||||||
|
https://github.com/garrett/Tux
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
2040
Documentation/images/logo.svg
Normal file
2040
Documentation/images/logo.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 128 KiB |
@ -85,15 +85,15 @@ accepted by this input device. Our example device can only generate EV_KEY
|
|||||||
type events, and from those only BTN_0 event code. Thus we only set these
|
type events, and from those only BTN_0 event code. Thus we only set these
|
||||||
two bits. We could have used::
|
two bits. We could have used::
|
||||||
|
|
||||||
set_bit(EV_KEY, button_dev.evbit);
|
set_bit(EV_KEY, button_dev->evbit);
|
||||||
set_bit(BTN_0, button_dev.keybit);
|
set_bit(BTN_0, button_dev->keybit);
|
||||||
|
|
||||||
as well, but with more than single bits the first approach tends to be
|
as well, but with more than single bits the first approach tends to be
|
||||||
shorter.
|
shorter.
|
||||||
|
|
||||||
Then the example driver registers the input device structure by calling::
|
Then the example driver registers the input device structure by calling::
|
||||||
|
|
||||||
input_register_device(&button_dev);
|
input_register_device(button_dev);
|
||||||
|
|
||||||
This adds the button_dev structure to linked lists of the input driver and
|
This adds the button_dev structure to linked lists of the input driver and
|
||||||
calls device handler modules _connect functions to tell them a new input
|
calls device handler modules _connect functions to tell them a new input
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# run check on a text and a binary file
|
# run check on a text and a binary file
|
||||||
for FILE in Makefile Documentation/logo.gif; do
|
for FILE in Makefile Documentation/images/logo.gif; do
|
||||||
python3 scripts/spdxcheck.py $FILE
|
python3 scripts/spdxcheck.py $FILE
|
||||||
python3 scripts/spdxcheck.py - < $FILE
|
python3 scripts/spdxcheck.py - < $FILE
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user