From 19951bbf57da87093f7bde25bad41571fbdaf4d9 Mon Sep 17 00:00:00 2001 From: Yangbo Lu Date: Fri, 22 Sep 2017 15:57:12 +0800 Subject: layerscape: drop linux 4.4 support This patch is to drop linux 4.4 for layerscape. Signed-off-by: Yangbo Lu --- ...-mc-add-support-for-the-modalias-sysfs-at.patch | 54 ---------------------- 1 file changed, 54 deletions(-) delete mode 100644 target/linux/layerscape/patches-4.4/7179-staging-fsl-mc-add-support-for-the-modalias-sysfs-at.patch (limited to 'target/linux/layerscape/patches-4.4/7179-staging-fsl-mc-add-support-for-the-modalias-sysfs-at.patch') diff --git a/target/linux/layerscape/patches-4.4/7179-staging-fsl-mc-add-support-for-the-modalias-sysfs-at.patch b/target/linux/layerscape/patches-4.4/7179-staging-fsl-mc-add-support-for-the-modalias-sysfs-at.patch deleted file mode 100644 index 030c195f76..0000000000 --- a/target/linux/layerscape/patches-4.4/7179-staging-fsl-mc-add-support-for-the-modalias-sysfs-at.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 227c693741ce1fbf0ad146c87f03369334941f2e Mon Sep 17 00:00:00 2001 -From: Stuart Yoder -Date: Wed, 22 Jun 2016 16:40:42 -0500 -Subject: [PATCH 179/226] staging: fsl-mc: add support for the modalias sysfs - attribute - -In order to support uevent based module loading implement modalias support -for the fsl-mc bus driver. Aliases are based on vendor and object/device -id and are of the form "fsl-mc:vNdN". - -Signed-off-by: Stuart Yoder -Signed-off-by: Greg Kroah-Hartman ---- - drivers/staging/fsl-mc/bus/mc-bus.c | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - ---- a/drivers/staging/fsl-mc/bus/mc-bus.c -+++ b/drivers/staging/fsl-mc/bus/mc-bus.c -@@ -82,10 +82,35 @@ static int fsl_mc_bus_uevent(struct devi - return 0; - } - -+static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, -+ char *buf) -+{ -+ struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); -+ -+ return sprintf(buf, "fsl-mc:v%08Xd%s\n", mc_dev->obj_desc.vendor, -+ mc_dev->obj_desc.type); -+} -+static DEVICE_ATTR_RO(modalias); -+ -+static struct attribute *fsl_mc_dev_attrs[] = { -+ &dev_attr_modalias.attr, -+ NULL, -+}; -+ -+static const struct attribute_group fsl_mc_dev_group = { -+ .attrs = fsl_mc_dev_attrs, -+}; -+ -+static const struct attribute_group *fsl_mc_dev_groups[] = { -+ &fsl_mc_dev_group, -+ NULL, -+}; -+ - struct bus_type fsl_mc_bus_type = { - .name = "fsl-mc", - .match = fsl_mc_bus_match, - .uevent = fsl_mc_bus_uevent, -+ .dev_groups = fsl_mc_dev_groups, - }; - EXPORT_SYMBOL_GPL(fsl_mc_bus_type); - -- cgit v1.2.3