Main-line Linux kernel tree http://www.kernel.org
Go to file
Krzysztof Kozlowski 8107fe9389 hwmon: (gpio-fan) drop of_match_ptr for ID table
The driver can match only via the DT table so the table should be always
used and the of_match_ptr does not have any sense (this also allows ACPI
matching via PRP0001, even though it might not be relevant here).  This
also fixes !CONFIG_OF error:

  drivers/hwmon/gpio-fan.c:484:34: error: ‘of_gpio_fan_match’ defined but not used [-Werror=unused-const-variable=]

Note(groeck): The build error is only seen if Kconfig dependencies
are messed up. The driver depends on OF_GPIO which should depend
on OF. This was temporarily broken in linux-next, and it was
possible to select CONFIG_OF=n and CONFIG_SENSORS_GPIO_FAN=y.
Nevertheless, this is a sensible fix.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230312193723.478032-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2023-04-19 07:08:31 -07:00
arch powerpc fixes for 6.3 #4 2023-04-02 10:01:56 -07:00
block
certs
crypto
Documentation hwmon: constify pointers to hwmon_channel_info 2023-04-07 08:45:17 -07:00
drivers hwmon: (gpio-fan) drop of_match_ptr for ID table 2023-04-19 07:08:31 -07:00
fs for-6.3-rc4-tag 2023-04-02 10:57:12 -07:00
include hwmon: constify pointers to hwmon_channel_info 2023-04-07 08:45:17 -07:00
init
io_uring io_uring-6.3-2023-03-30 2023-03-31 12:30:13 -07:00
ipc
kernel
lib
LICENSES
mm
net More NFS Client Bugfixes for Linux 6.3-rc 2023-03-31 13:22:14 -07:00
rust
samples
scripts Kbuild fixes for v6.3 (2nd) 2023-04-01 09:25:17 -07:00
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Driver core fixes for 6.3-rc5 2023-04-02 10:10:16 -07:00
Makefile Linux 6.3-rc5 2023-04-02 14:29:29 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.