diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2010-07-19 20:07:24 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2010-07-19 20:07:24 +0000 |
commit | 261048484004ddf236940f71874998e09b30f48b (patch) | |
tree | 603d2849f80f19bae9cb291273626cf9e9b62f93 /target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch | |
parent | c2dfed1638e992c5fa552aae289d0ac754cb88fc (diff) | |
download | upstream-261048484004ddf236940f71874998e09b30f48b.tar.gz upstream-261048484004ddf236940f71874998e09b30f48b.tar.bz2 upstream-261048484004ddf236940f71874998e09b30f48b.zip |
brcm47xx: remove kernel 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22295 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch b/target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch deleted file mode 100644 index 5faf61de6a..0000000000 --- a/target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- a/drivers/ssb/main.c -+++ b/drivers/ssb/main.c -@@ -384,6 +384,34 @@ static int ssb_device_uevent(struct devi - ssb_dev->id.revision); - } - -+#define ssb_config_attr(attrib, field, format_string) \ -+static ssize_t \ -+attrib##_show(struct device *dev, struct device_attribute *attr, char *buf) \ -+{ \ -+ return sprintf (buf, format_string, dev_to_ssb_dev(dev)->field); \ -+} -+ -+ssb_config_attr(core_num, core_index, "%u\n") -+ssb_config_attr(coreid, id.coreid, "0x%04x\n") -+ssb_config_attr(vendor, id.vendor, "0x%04x\n") -+ssb_config_attr(revision, id.revision, "%u\n") -+ssb_config_attr(irq, irq, "%u\n") -+static ssize_t -+name_show(struct device *dev, struct device_attribute *attr, char *buf) -+{ -+ return sprintf (buf, "%s\n", ssb_core_name(dev_to_ssb_dev(dev)->id.coreid)); -+} -+ -+static struct device_attribute ssb_device_attrs[] = { -+ __ATTR_RO(name), -+ __ATTR_RO(core_num), -+ __ATTR_RO(coreid), -+ __ATTR_RO(vendor), -+ __ATTR_RO(revision), -+ __ATTR_RO(irq), -+ __ATTR_NULL, -+}; -+ - static struct bus_type ssb_bustype = { - .name = "ssb", - .match = ssb_bus_match, -@@ -393,6 +421,7 @@ static struct bus_type ssb_bustype = { - .suspend = ssb_device_suspend, - .resume = ssb_device_resume, - .uevent = ssb_device_uevent, -+ .dev_attrs = ssb_device_attrs, - }; - - static void ssb_buses_lock(void) |