]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpic: Add get_version API both for internal and external use
authorHongtao Jia <hongtao.jia@freescale.com>
Wed, 10 Apr 2013 02:52:55 +0000 (10:52 +0800)
committerScott Wood <scottwood@freescale.com>
Mon, 1 Jul 2013 23:38:28 +0000 (18:38 -0500)
commit96b500e73698c29c34520fe3b0eb30187a00cca5
treed57e6453daf9352acdfb6588c6a8f3a7dd4b6c67
parentf0d4c39457f9902c5ae0b27b79ffd3580a78e2c4
powerpc/mpic: Add get_version API both for internal and external use

MPIC version is useful information for both mpic_alloc() and mpic_init().
The patch provide an API to get MPIC version for reusing the code.
Also, some other IP block may need MPIC version for their own use.
The API for external use is also provided.

Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/mpic.h
arch/powerpc/sysdev/mpic.c