]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rapidio: rework common RIO device add/delete routines
authorAlexandre Bounine <alexandre.bounine@idt.com>
Tue, 9 Feb 2016 23:13:48 +0000 (10:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Feb 2016 23:13:48 +0000 (10:13 +1100)
commit89156d60ee219ec7578341586188fb39d6297035
tree1472a423a0aa2bd2a75fa712053d565f4d76afea
parentbe53be2b965e4c5676a43fae70f826339f5bb046
rapidio: rework common RIO device add/delete routines

This patch moves per-net device list handling from rio-scan to common
RapidIO core and adds a matching device deletion routine. This makes
device object creation/removal available to other implementations of
enumeration/discovery process.

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rapidio/rio-scan.c
drivers/rapidio/rio.c
drivers/rapidio/rio.h