Skip to content

Commit

Permalink
[PATCH] rtc.h broke strace(1) builds
Browse files Browse the repository at this point in the history
Git patch 52dfa9a64cfb3dd01fa1ee1150d589481e54e28e

	[PATCH] move rtc_interrupt() prototype to rtc.h

broke strace(1) builds.  The below moves the kernel-only additions lower,
under the already provided #ifdef __KERNEL__ statement.

Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Joe Korty authored and Linus Torvalds committed Mar 22, 2006
1 parent d2044a9 commit 4024ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
#ifndef _LINUX_RTC_H_
#define _LINUX_RTC_H_

#include <linux/interrupt.h>

/*
* The struct used to pass data via the following ioctl. Similar to the
* struct tm in <time.h>, but it needs to be here so that the kernel
Expand Down Expand Up @@ -95,6 +93,8 @@ struct rtc_pll_info {

#ifdef __KERNEL__

#include <linux/interrupt.h>

typedef struct rtc_task {
void (*func)(void *private_data);
void *private_data;
Expand Down

0 comments on commit 4024ce5

Please sign in to comment.