Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/dahdi/dahdi-sysfs-chan.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ static void chan_release(struct device *dev)
chan_dbg(DEVICES, chan, "SYSFS\n");
}

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0) ||(defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9, 8)))
static int chan_match(struct device *dev, const struct device_driver *driver)
#else
static int chan_match(struct device *dev, struct device_driver *driver)
Expand Down
2 changes: 1 addition & 1 deletion drivers/dahdi/dahdi-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module_param(tools_rootdir, charp, 0444);
MODULE_PARM_DESC(tools_rootdir,
"root directory of all tools paths (default /)");

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0) ||(defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9, 8)))
static int span_match(struct device *dev, const struct device_driver *driver)
#else
static int span_match(struct device *dev, struct device_driver *driver)
Expand Down
4 changes: 2 additions & 2 deletions drivers/dahdi/xpp/xbus-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ static struct attribute *xbus_dev_attrs[] = {
ATTRIBUTE_GROUPS(xbus_dev);
#endif

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0) ||(defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9, 8)))
static int astribank_match(struct device *dev, const struct device_driver *driver)
#else
static int astribank_match(struct device *dev, struct device_driver *driver)
Expand Down Expand Up @@ -778,7 +778,7 @@ static DEVICE_ATTR_READER(refcount_xpd_show, dev, buf)
return len;
}

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0) ||(defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9, 8)))
static int xpd_match(struct device *dev, const struct device_driver *driver)
#else
static int xpd_match(struct device *dev, struct device_driver *driver)
Expand Down