Sebastian Ott 24a1872d64 [S390] cio: add per device initialization status flag
The function ccw_device_unregister has to ensure to remove
all references obtained by device_add and device_initialize.
Unfortunately it gets called for devices which are
1) uninitialized, 2) initialized but unregistered, and
3) registered devices. To distinguish 1) and 2) this patch
introduces a new flag "initialized", which is 1 as long as we
hold the initial device reference.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-12-07 12:51:32 +01:00
..
2009-03-26 15:24:14 +01:00
2009-10-06 10:35:06 +02:00
2008-07-14 10:02:11 +02:00
2009-09-11 10:29:40 +02:00
2009-12-07 12:51:30 +01:00
2009-03-26 15:24:13 +01:00
2009-12-07 12:51:30 +01:00
2009-12-07 12:51:30 +01:00
2008-10-10 21:33:53 +02:00