Skip to content

Commit

Permalink
[ARM] 4877/1: i.MXC family: Clean up current platform code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert Schwebel authored and Russell King committed Mar 31, 2008
1 parent f304fc4 commit 2c130fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
4 changes: 0 additions & 4 deletions arch/arm/plat-mxc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@

# Common support
obj-y := irq.o

obj-m :=
obj-n :=
obj- :=
14 changes: 3 additions & 11 deletions arch/arm/plat-mxc/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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.
Expand Down

0 comments on commit 2c130fd

Please sign in to comment.