aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pps
diff options
context:
space:
mode:
authorAlexander Gordeev <lasaine@lvk.cs.msu.su>2011-01-12 17:00:49 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 08:03:19 -0800
commit7a21a3cc0be92e70474cc2ab06cb074f6a7c3f09 (patch)
tree2a220ba224b023b3f8a8c376184b9385cfcafcee /drivers/pps
parent9ab020cf07e457a8b425bf5af17e704f90f86d8b (diff)
downloadkernel_samsung_tuna-7a21a3cc0be92e70474cc2ab06cb074f6a7c3f09.zip
kernel_samsung_tuna-7a21a3cc0be92e70474cc2ab06cb074f6a7c3f09.tar.gz
kernel_samsung_tuna-7a21a3cc0be92e70474cc2ab06cb074f6a7c3f09.tar.bz2
pps: trivial fixes
Here are some very trivial fixes combined: - add macro definitions to protect header file from including several times - remove declaration for an unexistent array - fix typos Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su> Acked-by: Rodolfo Giometti <giometti@linux.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pps')
-rw-r--r--drivers/pps/kapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pps/kapi.c b/drivers/pps/kapi.c
index 1aa02db..55f3961 100644
--- a/drivers/pps/kapi.c
+++ b/drivers/pps/kapi.c
@@ -324,7 +324,7 @@ void pps_event(int source, struct pps_ktime *ts, int event, void *data)
captured = ~0;
}
- /* Wake up iif captured somthing */
+ /* Wake up if captured something */
if (captured) {
pps->go = ~0;
wake_up_interruptible(&pps->queue);