Ignore:
Timestamp:
Apr 17, 2017, 11:38:39 AM (2 months ago)
Author:
brainslayer
Message:

change mpcore watchdog driver for laguna

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/arch/arm/kernel/smp_twd.c

    r31574 r31871  
    1616#include <linux/device.h>
    1717#include <linux/err.h>
     18#include <linux/export.h>
    1819#include <linux/smp.h>
    1920#include <linux/jiffies.h>
     
    389390}
    390391
     392/* Needed by mpcore_wdt */
     393unsigned long twd_timer_get_rate(void)
     394{
     395        return twd_timer_rate;
     396}
     397EXPORT_SYMBOL_GPL(twd_timer_get_rate);
     398
     399
    391400#ifdef CONFIG_OF
    392401static int __init twd_local_timer_of_register(struct device_node *np)
     
    416425CLOCKSOURCE_OF_DECLARE(arm_twd_11mp, "arm,arm11mp-twd-timer", twd_local_timer_of_register);
    417426#endif
    418 
    419 /* Needed by mpcore_wdt */
    420 unsigned long twd_timer_get_rate(void)
    421 {
    422         return twd_timer_rate;
    423 }
    424 EXPORT_SYMBOL_GPL(twd_timer_get_rate);
Note: See TracChangeset for help on using the changeset viewer.