Thread (3 messages) 3 messages, 2 authors, 2021-03-26

Re: linux-next: Tree for Mar 26 (drivers/mfd/lpc_sch.c)

From: Randy Dunlap <hidden>
Date: 2021-03-26 18:27:56
Also in: lkml

On 3/26/21 11:20 AM, Randy Dunlap wrote:
On 3/26/21 1:34 AM, Stephen Rothwell wrote:
quoted
Hi all,

Changes since 20210325:
on i386 or x86_64:
aha:
# CONFIG_PCI is not set


../drivers/mfd/lpc_sch.c:204:1: warning: data definition has no type or storage class
 module_pci_driver(lpc_sch_driver);
 ^~~~~~~~~~~~~~~~~
../drivers/mfd/lpc_sch.c:204:1: error: type defaults to ‘int’ in declaration of ‘module_pci_driver’ [-Werror=implicit-int]
../drivers/mfd/lpc_sch.c:204:1: warning: parameter names (without types) in function declaration
../drivers/mfd/lpc_sch.c:197:26: warning: ‘lpc_sch_driver’ defined but not used [-Wunused-variable]
 static struct pci_driver lpc_sch_driver = {
                          ^~~~~~~~~~~~~~


Full x86_64 randconfig file is attached.
This is the root of the problem I think:

WARNING: unmet direct dependencies detected for LPC_SCH
  Depends on [n]: HAS_IOMEM [=y] && PCI [=n]
  Selected by [m]:
  - GPIO_SCH [=m] && GPIOLIB [=y] && X86 [=y] && (X86 [=y] || COMPILE_TEST [=y]) && ACPI [=y]


Denis, that still looks like it's your territory.

thanks.
-- 
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help