/usr/local/src/dahdi-linux/drivers/dahdi/xpp/xbus-sysfs.c:483:18: error: initialization of ‘int (*)(struct device *, const struct device_driver *)’ from incompatible pointer type ‘int (*)(struct device *, struct device_driver *)’ [-Werror=incompatible-pointer-types]
483 | .match = astribank_match,
| ^~~~~~~~~~~~~~~
my fix is in par with #64
adding to all if
||(defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9, 8)))