mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
cfda590178
Make a common device tree glue for clocksource/dw_apb_timer. Move mach-picoxcell/time.c to be a generic device tree application of the dw_apb_timer. Configure mach-picoxcell to use the dw_apb_timer_of device tree implementation in drivers/clocksource. Signed-off-by: Pavel Machek <pavel@denx.de> Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Acked-by: Jamie Iles <jamie@jamieiles.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 lines
455 B
C
18 lines
455 B
C
/*
|
|
* Copyright (c) 2011 Picochip Ltd., Jamie Iles
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* All enquiries to support@picochip.com
|
|
*/
|
|
#ifndef __PICOXCELL_COMMON_H__
|
|
#define __PICOXCELL_COMMON_H__
|
|
|
|
#include <asm/mach/time.h>
|
|
|
|
extern struct sys_timer dw_apb_timer;
|
|
|
|
#endif /* __PICOXCELL_COMMON_H__ */
|