History log of /arch/arm/mach-rpc/ecard.c
Revision Date Author Comments
5f07809e93b4c05516d85a3f2770b1a77115eb70 30-Apr-2012 Arnd Bergmann <arnd@arndb.de> ARM: rpc: check device_register return code in ecard_probe

device_register is marked __must_check, so we better propagate the error
value by returning it from ecard_probe.

Without this patch, building rpc_defconfig results in:

arch/arm/mach-rpc/ecard.c: In function 'ecard_probe':
arch/arm/mach-rpc/ecard.c:963:17: warning: ignoring return value of 'device_register', declared with attribute warn_unused_result [-Wunused-result]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
41569e370c5e1f5714a3386a3795efff99891f97 18-Jan-2012 Russell King <rmk+kernel@arm.linux.org.uk> ARM: ecard: get rid of NO_IRQ madness

Get rid of the NO_IRQ madness from Acorn expansion card handling code.
Thankfully, are relatively few users of this here, and so it's easy to
audit.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
530c2eaa6ab69fca94911f2aa74fe3e11b1cd19b 01-Mar-2012 Russell King <rmk+kernel@arm.linux.org.uk> ARM: riscpc: remove expansion card irq mask register

This register is only present on older platforms, and not on RiscPC,
so lets remove this unused support.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
b4ac08492d06e4f2cea24a5b2579b4b0a0f537ce 01-Mar-2012 Russell King <rmk+kernel@arm.linux.org.uk> ARM: riscpc: convert ecard to use irq_alloc_descs()

Use irq_alloc_descs() to allocate IRQs for expansion cards.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
c402c110721ed53916595473aed1013acde95bab 01-Mar-2012 Russell King <rmk+kernel@arm.linux.org.uk> ARM: riscpc: use irq chip data in ecard.c

Use irq chip data to store the expansion card data pointer, rather
than converting from the interrupt number to a slot number. This
allows the interrupt chip methods to avoid knowing about interrupt
numbering.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
6e747b4b83c2290b465aabd1ac006332430e2b2e 01-Mar-2012 Russell King <rmk+kernel@arm.linux.org.uk> ARM: riscpc: move ecard.c to arch/arm/mach-rpc

RiscPC is the only platform using the Acorn expansion card support, so
move it into its mach-* directory.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>