| From | Josh Triplett <> | Subject | [PATCH 14/58] x86: Mark EVT_TO_HPET_DEV static | Date | Sun, 18 Nov 2012 21:27:53 -0800 |
| |
Nothing outside of arch/x86/kernel/hpet.c references this function, so mark it static.
Signed-off-by: Josh Triplett <josh@joshtriplett.org> --- arch/x86/kernel/hpet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c index 1460a5d..2dd92ae 100644 --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c @@ -52,7 +52,7 @@ struct hpet_dev { char name[10]; }; -inline struct hpet_dev *EVT_TO_HPET_DEV(struct clock_event_device *evtdev) +static inline struct hpet_dev *EVT_TO_HPET_DEV(struct clock_event_device *evtdev) { return container_of(evtdev, struct hpet_dev, evt); } -- 1.7.10.4
|