Skip to content

Backport for kernels 5.10 / 5.15 #4

@razvanphp

Description

@razvanphp

First batch of errors:

$ make
make -j`nproc` -C /lib/modules/`uname -r`/build M=$PWD modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.136-tegra-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source'
  CC [M]  /home/jetson/mt76/mmio.o
  CC [M]  /home/jetson/mt76/util.o
  CC [M]  /home/jetson/mt76/trace.o
  CC [M]  /home/jetson/mt76/mt76x0/usb.o
  CC [M]  /home/jetson/mt76/mt76x2/eeprom.o
  CC [M]  /home/jetson/mt76/mt76x2/mac.o
  CC [M]  /home/jetson/mt76/mt7921/mac.o
  CC [M]  /home/jetson/mt76/mt76x0/usb_mcu.o
/home/jetson/mt76/mt76x2/eeprom.c:8:10: fatal error: linux/unaligned.h: No such file or directory
    8 | #include <linux/unaligned.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:295: /home/jetson/mt76/mt76x2/eeprom.o] Error 1
make[3]: *** Waiting for unfinished jobs....
  CC [M]  /home/jetson/mt76/mt76x0/init.o
In file included from /home/jetson/mt76/trace.h:10,
                 from /home/jetson/mt76/trace.c:10:
/home/jetson/mt76/mt76.h:16:10: fatal error: linux/soc/mediatek/mtk_wed.h: No such file or directory
   16 | #include <linux/soc/mediatek/mtk_wed.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions