bootlin / mali-driver

GNU General Public License v2.0
16 stars 8 forks source link

mali_kbase_core_linux: fix build failure with linux version >= 5.15 #3

Closed giuliobenetti closed 2 years ago

giuliobenetti commented 2 years ago

Since Linux 5.15 module using DMA_BUF needs to explictly MODULE_IMPORT_NS it, so let's add MODULE_IMPORT_NS(DMA_BUF); if Linux version is >= 5.15.0.

Signed-off-by: Giulio Benetti giulio.benetti@benettiengineering.com