mbox series

[v2,0/4] add DFL bus support to MODULE_DEVICE_TABLE()

Message ID 1600140473-12351-1-git-send-email-yilun.xu@intel.com (mailing list archive)
Headers show
Series add DFL bus support to MODULE_DEVICE_TABLE() | expand

Message

Xu Yilun Sept. 15, 2020, 3:27 a.m. UTC
Patch #1 and #2 add dfl bus support to MODULE_DEVICE_TABLE(), so that
dfl driver modules could be auto-loaded when dfl devices are added.

Patch #3 is a fix of the description of fields in struct dfl_device.

Patch #4 moves the dfl bus APIs to a new header file in the public
folder so that scattered dfl device drivers could include the common
dfl bus APIs.

Main changes from v1:
- A new patch (Patch #3) to fix the description.
- Rename the dfl-bus.h to dfl.h
- Updated the MAINTAINERS under FPGA DFL DRIVERS.
- Improve comments and minor fixes.

Xu Yilun (4):
  fpga: dfl: move dfl_device_id to mod_devicetable.h
  dfl: add dfl bus support to MODULE_DEVICE_TABLE()
  fpga: dfl: fix the comments of type & feature_id fields
  fpga: dfl: move dfl bus related APIs to include/linux/fpga/dfl.h

 MAINTAINERS                       |  1 +
 drivers/fpga/dfl-n3000-nios.c     |  3 +-
 drivers/fpga/dfl.c                |  1 +
 drivers/fpga/dfl.h                | 85 +-------------------------------------
 include/linux/fpga/dfl.h          | 86 +++++++++++++++++++++++++++++++++++++++
 include/linux/mod_devicetable.h   | 12 ++++++
 scripts/mod/devicetable-offsets.c |  4 ++
 scripts/mod/file2alias.c          | 17 ++++++++
 8 files changed, 123 insertions(+), 86 deletions(-)
 create mode 100644 include/linux/fpga/dfl.h