Skip to content

Commit

Permalink
powerpc/irq: Improve nanodoc
Browse files Browse the repository at this point in the history
The OF helpers look like nanodoc but are missing the header. Fix this and a
typo (s/nad/and/) while we are here.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Wolfram Sang authored and Benjamin Herrenschmidt committed Sep 11, 2009
1 parent cede393 commit 8708d00
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/powerpc/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ extern void irq_free_virt(unsigned int virq, unsigned int count);

/* -- OF helpers -- */

/* irq_create_of_mapping - Map a hardware interrupt into linux virq space
/**
* irq_create_of_mapping - Map a hardware interrupt into linux virq space
* @controller: Device node of the interrupt controller
* @inspec: Interrupt specifier from the device-tree
* @intsize: Size of the interrupt specifier from the device-tree
Expand All @@ -314,8 +315,8 @@ extern void irq_free_virt(unsigned int virq, unsigned int count);
extern unsigned int irq_create_of_mapping(struct device_node *controller,
u32 *intspec, unsigned int intsize);


/* irq_of_parse_and_map - Parse nad Map an interrupt into linux virq space
/**
* irq_of_parse_and_map - Parse and Map an interrupt into linux virq space
* @device: Device node of the device whose interrupt is to be mapped
* @index: Index of the interrupt to map
*
Expand Down

0 comments on commit 8708d00

Please sign in to comment.