projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'nfs-for-3.12-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
gpio
/
gpio-ich.c
diff --git
a/drivers/gpio/gpio-ich.c
b/drivers/gpio/gpio-ich.c
index 2729e3d2d5bbe9da7781be8cf8de34be26d19535..814addb62d2cce372ac4a9df25733d6f3f52284e 100644
(file)
--- a/
drivers/gpio/gpio-ich.c
+++ b/
drivers/gpio/gpio-ich.c
@@
-354,7
+354,7
@@
static int ichx_gpio_probe(struct platform_device *pdev)
{
struct resource *res_base, *res_pm;
int err;
{
struct resource *res_base, *res_pm;
int err;
- struct lpc_ich_info *ich_info =
pdev->dev.platform_data
;
+ struct lpc_ich_info *ich_info =
dev_get_platdata(&pdev->dev)
;
if (!ich_info)
return -ENODEV;
if (!ich_info)
return -ENODEV;