projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: ag71xx: check PHY IDs before accessing the switch registers
[openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
drivers
/
gpio
/
nxp_74hc153.c
diff --git
a/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c
b/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c
index
b4f1662
..
a5fec5c
100644
(file)
--- a/
target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c
+++ b/
target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c
@@
-11,6
+11,7
@@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/gpio.h>
+#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/nxp_74hc153.h>
#include <linux/platform_device.h>
#include <linux/nxp_74hc153.h>
@@
-178,15
+179,15
@@
static int __devinit nxp_74hc153_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, nxp);
return 0;
platform_set_drvdata(pdev, nxp);
return 0;
-
err_free_2y:
+err_free_2y:
gpio_free(pdata->gpio_pin_2y);
gpio_free(pdata->gpio_pin_2y);
-
err_free_1y:
+err_free_1y:
gpio_free(pdata->gpio_pin_1y);
gpio_free(pdata->gpio_pin_1y);
-
err_free_s1:
+err_free_s1:
gpio_free(pdata->gpio_pin_s1);
gpio_free(pdata->gpio_pin_s1);
-
err_free_s0:
+err_free_s0:
gpio_free(pdata->gpio_pin_s0);
gpio_free(pdata->gpio_pin_s0);
-
err_free_nxp:
+err_free_nxp:
kfree(nxp);
return err;
}
kfree(nxp);
return err;
}
This page took
0.031655 seconds
and
4
git commands to generate.