fpga: dfl: store FIU type in feature platform data
authorPeter Colberg <peter.colberg@intel.com>
Wed, 20 Nov 2024 01:10:23 +0000 (20:10 -0500)
committerXu Yilun <yilun.xu@linux.intel.com>
Wed, 18 Dec 2024 14:28:48 +0000 (22:28 +0800)
commit975a7301f581d7f5f9d84539b0ad45bb82c2ac3d
tree74e8144c46dc71849df1da1b30ecbab96adbdb97
parentfccfc01148d6f920c5fcf2c159ae375f2c98ec52
fpga: dfl: store FIU type in feature platform data

Remove the local function feature_dev_id_type() in favor of persisting
the FIU type in struct dfl_feature_platform_data. Add type to struct
build_feature_devs_info and drop argument to build_info_create_dev().

Signed-off-by: Peter Colberg <peter.colberg@intel.com>
Reviewed-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Reviewed-by: Basheer Ahmed Muddebihal <basheer.ahmed.muddebihal@linux.intel.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20241120011035.230574-8-peter.colberg@intel.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
drivers/fpga/dfl.c
drivers/fpga/dfl.h