A handful of late-arriving documentation fixes and the addition of an SVG
tux logo which, I'm assured, we're going to want. -----BEGIN PGP SIGNATURE----- iQFDBAABCAAtFiEEIw+MvkEiF49krdp9F0NaE2wMflgFAmKZLSEPHGNvcmJldEBs d24ubmV0AAoJEBdDWhNsDH5YvDgH/RKxfYbTZmNinh8Sk0hvQwfhJdp92J6UjElc csheqKyK7Qvm8Gv4OtpXABhmrE7LBNQK9CU4EzqgW1t3vtA/syiYfpAQfjzSyEyG /RVFwd9XHJTBW+ZraYtDNrgmMPgDwQ6GFfDUzHKc2++Xn0Hj4jzeKgk9KiZu0JN3 MJOPY4mCnRWWQd0jceQPp3ZqBiZuHKC5rIwVfWQXuCP10NsQxc3dpXOqKePfFC5A SUDJN5S8GLPj25qqjHBe4+MyDf+lhXBbTSu2aAjYJkbFWTEY1TrA6DHX9LHCaQng s3HDbQwrk2DOx6Uaz2foBbDM6tIpzyF3iWVbSoSbqhpurRG94xM= =hhkL -----END PGP SIGNATURE----- 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:
commit
50fd82b3a9
|
@ -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 |
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
|
||||||
|
|
Loading…
Reference in New Issue