[PATCH 6.1.y-cip 0/2] Fix for module build in ohci-platform.c

Nobuhiro Iwamatsu <[email protected]>
Newsgroups org.cip-project.lists.cip-dev
Message-ID <1787105577-3655-1-git-send-email-nobuhiro.iwamatsu.x90@mail.toshiba>
The commit “3c134b7b41d (”of: Add of_machine_compatible_match()“)”,
which was backported to 6.1.y-cip, causes an error when building the
module in ohci-platform.c.
This fixes an issue with of_machine_compatible_match().

```
[...]
  OBJCOPY modules.builtin.modinfo
  GEN     modules.builtin
  GEN     .vmlinux.objs
  MODPOST Module.symvers
ERROR: modpost: "of_machine_compatible_match" [drivers/usb/host/ohci-platform.ko] undefined!
make[5]: *** [../scripts/Makefile.modpost:127: Module.symvers] Error 1
```

Christophe Leroy (1):
  of: Reimplement of_machine_is_compatible() using
    of_machine_compatible_match()

Michael Ellerman (1):
  of: Change of_machine_is_compatible() to return bool

 drivers/of/base.c  | 22 +---------------------
 include/linux/of.h | 14 +++++++++++++-
 2 files changed, 14 insertions(+), 22 deletions(-)

-- 
2.51.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.