forked from luck/tmp_suning_uos_patched
[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: Juergen Beisert <j.beisert@pengutronix.de> Signed-off-by: Ross Wille <wille@freescale.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
f304fc422d
commit
2c130fd529
|
@ -4,7 +4,3 @@
|
|||
|
||||
# Common support
|
||||
obj-y := irq.o
|
||||
|
||||
obj-m :=
|
||||
obj-n :=
|
||||
obj- :=
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user