Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -4,7 +4,3 @@

# Common support
obj-y := irq.o

obj-m :=
obj-n :=
obj-  :=
+3 −11
Original line number Diff line number Diff line
@@ -19,21 +19,13 @@
#include <asm/mach/irq.h>
#include <asm/arch/common.h>

/*!
 * Disable interrupt number "irq" in the AVIC
 *
 * @param  irq          interrupt source number
 */
/* Disable interrupt number "irq" in the AVIC */
static void mxc_mask_irq(unsigned int irq)
{
	__raw_writel(irq, AVIC_INTDISNUM);
}

/*!
 * Enable interrupt number "irq" in the AVIC
 *
 * @param  irq          interrupt source number
 */
/* Enable interrupt number "irq" in the AVIC */
static void mxc_unmask_irq(unsigned int irq)
{
	__raw_writel(irq, AVIC_INTENNUM);
@@ -45,7 +37,7 @@ static struct irq_chip mxc_avic_chip = {
	.unmask = mxc_unmask_irq,
};

/*!
/*
 * This function initializes the AVIC hardware and disables all the
 * interrupts. It registers the interrupt enable and disable functions
 * to the kernel for each interrupt source.