ARM: davinci: pass clock as parameter to davinci_timer_init()
David Lechner authored

This changes davinci_timer_init() so that we pass the clock as a
parameter instead of using clk_get(). This is done in preparation
for converting to the common clock framework.

It removes the requirement that we have to have a clock with con_id
of "timer0", which will be good for DT bindings since clock-names =
"timer0" doesn't really make sense.

Also, drop use of extern in header file since we are touching the
definition.
Reviewed-by: default avatarSekhar Nori <nsekhar@ti.com>
Signed-off-by: default avatarDavid Lechner <david@lechnology.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
a7da5277
Name Last commit Last update
Documentation Merge tag 'for-linus-20180616' of git://git.kernel.dk/linux-block
LICENSES LICENSES: Add Linux-OpenIB license text
arch ARM: davinci: pass clock as parameter to davinci_timer_init()
block Merge tag 'for-linus-20180616' of git://git.kernel.dk/linux-block
certs docs: Fix some broken references
crypto docs: Fix some broken references
drivers Merge tag 'for-linus-20180616' of git://git.kernel.dk/linux-block
firmware kbuild: remove all dummy assignments to obj-
fs Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental
include Merge tag 'for-linus-20180616' of git://git.kernel.dk/linux-block
init Merge tag 'kbuild-v4.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
ipc ipc: use new return type vm_fault_t
kernel Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental
lib docs: Fix some broken references
mm mm: fix oom_kill event handling
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
samples Merge tag 'vfio-v4.18-rc1' of git://github.com/awilliam/linux-vfio
scripts scripts/documentation-file-ref-check: check tools/*/Documentation
security docs: Fix some broken references
sound docs: Fix some broken references
tools Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental
usr kbuild: rename built-in.o to built-in.a
virt Merge tag 'overflow-v4.18-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
.clang-format clang-format: add configuration file
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.