]> git.ipfire.org Git - thirdparty/linux.git/commit
ntb: amd: Use named initializer for pci_device_id::driver_data
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Thu, 7 May 2026 07:41:01 +0000 (09:41 +0200)
committerJon Mason <jdmason@kudzu.us>
Sat, 27 Jun 2026 02:18:34 +0000 (22:18 -0400)
commitd1c3d45f87e89e5c1fa0769a72a48d1ad99106fc
tree0d0886623885d69c4aefe455e9dfe2f15a271962
parent8df969463bc26a7250707f485ee3ac61426d671f
ntb: amd: Use named initializer for pci_device_id::driver_data

The current list initialisation depends on the well hidden two zeros in
the PCI_VDEVICE macro. Instead use a named initialisation that is more
robust and easier to understand.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c