diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-04-21 17:16:40 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-04-21 17:16:40 +0000 |
commit | 96b5d437d6c4fcaf39ef745d262fb176f1471fce (patch) | |
tree | 7253c59f3390ecc83cf13e6be9f0daaebc0c885f /target/linux/omap24xx/patches-2.6.38/531-cbus-retu-wdt-fix-bitfield.patch | |
parent | 76448ed5cf945b6b46de68693fa277ce27fc3eb8 (diff) | |
download | upstream-96b5d437d6c4fcaf39ef745d262fb176f1471fce.tar.gz upstream-96b5d437d6c4fcaf39ef745d262fb176f1471fce.tar.bz2 upstream-96b5d437d6c4fcaf39ef745d262fb176f1471fce.zip |
omap24xx: remove 2.6.38 support
SVN-Revision: 31426
Diffstat (limited to 'target/linux/omap24xx/patches-2.6.38/531-cbus-retu-wdt-fix-bitfield.patch')
-rw-r--r-- | target/linux/omap24xx/patches-2.6.38/531-cbus-retu-wdt-fix-bitfield.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/target/linux/omap24xx/patches-2.6.38/531-cbus-retu-wdt-fix-bitfield.patch b/target/linux/omap24xx/patches-2.6.38/531-cbus-retu-wdt-fix-bitfield.patch deleted file mode 100644 index c06cedeea1..0000000000 --- a/target/linux/omap24xx/patches-2.6.38/531-cbus-retu-wdt-fix-bitfield.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- a/drivers/cbus/retu-wdt.c -+++ b/drivers/cbus/retu-wdt.c -@@ -56,7 +56,7 @@ static int counter_param = RETU_WDT_MAX_ - - struct retu_wdt_dev { - struct device *dev; -- int users; -+ unsigned long users; - struct miscdevice retu_wdt_miscdev; - struct delayed_work ping_work; - }; -@@ -161,7 +161,7 @@ static DEVICE_ATTR(counter, S_IRUGO, ret - - static int retu_wdt_open(struct inode *inode, struct file *file) - { -- if (test_and_set_bit(1, (unsigned long *)&(retu_wdt->users))) -+ if (test_and_set_bit(0, &retu_wdt->users)) - return -EBUSY; - - file->private_data = (void *)retu_wdt; -@@ -177,7 +177,7 @@ static int retu_wdt_release(struct inode - #ifndef CONFIG_WATCHDOG_NOWAYOUT - retu_wdt_ping_enable(retu_wdt); - #endif -- wdev->users = 0; -+ clear_bit(0, &retu_wdt->users); - - return 0; - } -@@ -264,7 +264,6 @@ static int __init retu_wdt_probe(struct - return -ENOMEM; - - wdev->dev = &pdev->dev; -- wdev->users = 0; - - ret = device_create_file(&pdev->dev, &dev_attr_period); - if (ret) { |