summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/push-switch.h
AgeCommit message (Collapse)AuthorFilesLines
2006-12-12sh: push-switch fixups for work_struct API damage.Paul Mundt1-0/+3
INIT_WORK() dropped the data arg, so now we have to stash an extra pointer and backpedal instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-12-06sh: generic push-switch framework.Paul Mundt1-0/+28
This adds support for a generic push switch framework. Adaptable for various switches, including GPIO switches and the push switches commonly found on Renesas debug boards. This allows switch states to be trivially reported through sysfs. Signed-off-by: Paul Mundt <lethal@linux-sh.org>