Commit 2c130fd5 authored by Robert Schwebel's avatar Robert Schwebel Committed by Russell King

[ARM] 4877/1: i.MXC family: Clean up current platform code

From: Juergen Beisert <j.beisert@pengutronix.de>

This patch cleans up the in-kernel platform code from doxygen comments.
We don't know how this could have leak in, but anyway.

Changes since last release:
 - none
Signed-off-by: default avatarJuergen Beisert <j.beisert@pengutronix.de>
Signed-off-by: default avatarRoss Wille <wille@freescale.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent f304fc42
...@@ -4,7 +4,3 @@ ...@@ -4,7 +4,3 @@
# Common support # Common support
obj-y := irq.o obj-y := irq.o
obj-m :=
obj-n :=
obj- :=
...@@ -19,21 +19,13 @@ ...@@ -19,21 +19,13 @@
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
#include <asm/arch/common.h> #include <asm/arch/common.h>
/*! /* Disable interrupt number "irq" in the AVIC */
* Disable interrupt number "irq" in the AVIC
*
* @param irq interrupt source number
*/
static void mxc_mask_irq(unsigned int irq) static void mxc_mask_irq(unsigned int irq)
{ {
__raw_writel(irq, AVIC_INTDISNUM); __raw_writel(irq, AVIC_INTDISNUM);
} }
/*! /* Enable interrupt number "irq" in the AVIC */
* Enable interrupt number "irq" in the AVIC
*
* @param irq interrupt source number
*/
static void mxc_unmask_irq(unsigned int irq) static void mxc_unmask_irq(unsigned int irq)
{ {
__raw_writel(irq, AVIC_INTENNUM); __raw_writel(irq, AVIC_INTENNUM);
...@@ -45,7 +37,7 @@ static struct irq_chip mxc_avic_chip = { ...@@ -45,7 +37,7 @@ static struct irq_chip mxc_avic_chip = {
.unmask = mxc_unmask_irq, .unmask = mxc_unmask_irq,
}; };
/*! /*
* This function initializes the AVIC hardware and disables all the * This function initializes the AVIC hardware and disables all the
* interrupts. It registers the interrupt enable and disable functions * interrupts. It registers the interrupt enable and disable functions
* to the kernel for each interrupt source. * to the kernel for each interrupt source.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment