diff options
| author | Michael Hanselmann <[email protected]> | 2006-07-10 04:44:45 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-07-10 13:24:20 -0700 |
| commit | e01af0384f54023b4548b7742952da2ffcafd4cd (patch) | |
| tree | 6ffd14821a0a1fedbf4430c5df7fa60822f4809f /include/linux/debugobjects.h | |
| parent | 58d383a6222d66be9483598c51bae34e7d3c2c37 (diff) | |
[PATCH] powermac: Combined fixes for backlight code
This patch fixes several problems:
- pmac_backlight_key() is called under interrupt context, and therefore
can't use mutexes or semaphores, so defer the backlight level for
later, as it's not critical (original code by Aristeu S. Rozanski F.
<[email protected]>).
- Add exports for functions that might be called from modules
- Fix Kconfig depdencies on PMAC_BACKLIGHT.
- Fix locking issues on calls from inside the driver (reported by
Aristeu S. Rozanski F., too)
- Fix wrong calculation of backlight values in some of the drivers
- Replace pmac_backlight_key_up/down by inline functions
[[email protected]: fix function prototypes]
Signed-off-by: Michael Hanselmann <[email protected]>
Acked-by: Aristeu S. Rozanski F. <[email protected]>
Acked-by: Rene Nussbaumer <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions