s390/scm_block: do not hide eadm subchannel dependency
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 14 Nov 2013 09:44:56 +0000 (10:44 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 15 Nov 2013 13:08:42 +0000 (14:08 +0100)
commit605c36986c693b811b7ee3b7a0319ec3950d485a
tree6840dd0c8d1184c14271a4fcb008ebb300797119
parent7b50da53f6ad2048241bef232bfc22a132a40283
s390/scm_block: do not hide eadm subchannel dependency

Stop hiding scm_block's dependency to the eadm subchannel driver
(by using functions provided by the eadm subchannel instead of
wrappers provided by the scm bus).

This will help userspace recognizing module dependencies (e.g. for
building a ramdisk). As a side effect we can get rid of some code
reimplementing refcounting between those modules.

Reported-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/eadm.h
drivers/s390/block/scm_blk.c
drivers/s390/block/scm_blk_cluster.c
drivers/s390/cio/eadm_sch.c
drivers/s390/cio/scm.c