diff options
author | Jon Loeliger <linuxppc@jdl.com> | 2005-09-17 11:35:08 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-18 19:38:49 -0400 |
commit | f495a8bfd6a52cf32859f93d5320bb234d8a9560 (patch) | |
tree | b3159974aa2dc6de8406af66bc3b1ac5b10e4f94 /arch/ppc/platforms/pmac_backlight.c | |
parent | 7da8f8600a4751d7f0248e00d973901b7371fabc (diff) |
[PATCH] powerpc: Remove sections use from ppc
Here is a new patch that removes all notion of the pmac, prep,
chrp and openfirmware initialization sections, and then unifies
the sections.h files without those __pmac, etc, sections identifiers
cluttering things up.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/platforms/pmac_backlight.c')
-rw-r--r-- | arch/ppc/platforms/pmac_backlight.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/ppc/platforms/pmac_backlight.c b/arch/ppc/platforms/pmac_backlight.c index ed2b1cebc19a..8be2f7d071f0 100644 --- a/arch/ppc/platforms/pmac_backlight.c +++ b/arch/ppc/platforms/pmac_backlight.c | |||
@@ -37,7 +37,7 @@ static int backlight_req_enable = -1; | |||
37 | static void backlight_callback(void *); | 37 | static void backlight_callback(void *); |
38 | static DECLARE_WORK(backlight_work, backlight_callback, NULL); | 38 | static DECLARE_WORK(backlight_work, backlight_callback, NULL); |
39 | 39 | ||
40 | void __pmac register_backlight_controller(struct backlight_controller *ctrler, | 40 | void register_backlight_controller(struct backlight_controller *ctrler, |
41 | void *data, char *type) | 41 | void *data, char *type) |
42 | { | 42 | { |
43 | struct device_node* bk_node; | 43 | struct device_node* bk_node; |
@@ -99,7 +99,7 @@ void __pmac register_backlight_controller(struct backlight_controller *ctrler, | |||
99 | } | 99 | } |
100 | EXPORT_SYMBOL(register_backlight_controller); | 100 | EXPORT_SYMBOL(register_backlight_controller); |
101 | 101 | ||
102 | void __pmac unregister_backlight_controller(struct backlight_controller | 102 | void unregister_backlight_controller(struct backlight_controller |
103 | *ctrler, void *data) | 103 | *ctrler, void *data) |
104 | { | 104 | { |
105 | /* We keep the current backlight level (for now) */ | 105 | /* We keep the current backlight level (for now) */ |
@@ -108,7 +108,7 @@ void __pmac unregister_backlight_controller(struct backlight_controller | |||
108 | } | 108 | } |
109 | EXPORT_SYMBOL(unregister_backlight_controller); | 109 | EXPORT_SYMBOL(unregister_backlight_controller); |
110 | 110 | ||
111 | static int __pmac __set_backlight_enable(int enable) | 111 | static int __set_backlight_enable(int enable) |
112 | { | 112 | { |
113 | int rc; | 113 | int rc; |
114 | 114 | ||
@@ -122,7 +122,7 @@ static int __pmac __set_backlight_enable(int enable) | |||
122 | release_console_sem(); | 122 | release_console_sem(); |
123 | return rc; | 123 | return rc; |
124 | } | 124 | } |
125 | int __pmac set_backlight_enable(int enable) | 125 | int set_backlight_enable(int enable) |
126 | { | 126 | { |
127 | if (!backlighter) | 127 | if (!backlighter) |
128 | return -ENODEV; | 128 | return -ENODEV; |
@@ -133,7 +133,7 @@ int __pmac set_backlight_enable(int enable) | |||
133 | 133 | ||
134 | EXPORT_SYMBOL(set_backlight_enable); | 134 | EXPORT_SYMBOL(set_backlight_enable); |
135 | 135 | ||
136 | int __pmac get_backlight_enable(void) | 136 | int get_backlight_enable(void) |
137 | { | 137 | { |
138 | if (!backlighter) | 138 | if (!backlighter) |
139 | return -ENODEV; | 139 | return -ENODEV; |
@@ -141,7 +141,7 @@ int __pmac get_backlight_enable(void) | |||
141 | } | 141 | } |
142 | EXPORT_SYMBOL(get_backlight_enable); | 142 | EXPORT_SYMBOL(get_backlight_enable); |
143 | 143 | ||
144 | static int __pmac __set_backlight_level(int level) | 144 | static int __set_backlight_level(int level) |
145 | { | 145 | { |
146 | int rc = 0; | 146 | int rc = 0; |
147 | 147 | ||
@@ -165,7 +165,7 @@ static int __pmac __set_backlight_level(int level) | |||
165 | } | 165 | } |
166 | return rc; | 166 | return rc; |
167 | } | 167 | } |
168 | int __pmac set_backlight_level(int level) | 168 | int set_backlight_level(int level) |
169 | { | 169 | { |
170 | if (!backlighter) | 170 | if (!backlighter) |
171 | return -ENODEV; | 171 | return -ENODEV; |
@@ -176,7 +176,7 @@ int __pmac set_backlight_level(int level) | |||
176 | 176 | ||
177 | EXPORT_SYMBOL(set_backlight_level); | 177 | EXPORT_SYMBOL(set_backlight_level); |
178 | 178 | ||
179 | int __pmac get_backlight_level(void) | 179 | int get_backlight_level(void) |
180 | { | 180 | { |
181 | if (!backlighter) | 181 | if (!backlighter) |
182 | return -ENODEV; | 182 | return -ENODEV; |