diff options
author | Balaji Rao <balajirrao@gmail.com> | 2008-11-20 19:46:49 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-20 19:46:49 +0000 |
commit | fa62cc7d002b4422d44f453a08d9cd7c1f192600 (patch) | |
tree | c08fa854a795279c98e2b4d7f5fa484975345295 /include | |
parent | f3e9a706b03391c57b132b7a31f1f4cea4376bc2 (diff) |
eliminate_pcf50633_global.patch
Eliminate pcf50633_global and hence make pcf50633.c work with
multiple devices. pcf50633 is no longer a paltform device, but
an i2c device.
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pcf50633.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/pcf50633.h b/include/linux/pcf50633.h index c11a637c2ac..1d44ebf10b7 100644 --- a/include/linux/pcf50633.h +++ b/include/linux/pcf50633.h @@ -76,10 +76,9 @@ enum pcf50633_reg_int5 { }; struct pcf50633_data; -extern struct pcf50633_data *pcf50633_global; extern void -pcf50633_go_standby(void); +pcf50633_go_standby(struct pcf50633_data *pcf); enum pcf50633_gpio { PCF50633_GPIO1 = 1, @@ -175,6 +174,9 @@ struct pcf50633_platform_data { /* post-resume backlight bringup */ int defer_resume_backlight; u8 resume_backlight_ramp_speed; + + /* Runtime data */ + struct pcf50633_data *pcf; }; #endif /* _PCF50633_H */ |