summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/eadm.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-11-14 10:44:56 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-11-15 14:08:42 +0100
commit605c36986c693b811b7ee3b7a0319ec3950d485a (patch)
tree6840dd0c8d1184c14271a4fcb008ebb300797119 /arch/s390/include/asm/eadm.h
parents390/sclp: Consolidate early sclp init calls to sclp_early_detect() (diff)
downloadlinux-605c36986c693b811b7ee3b7a0319ec3950d485a.tar.xz
linux-605c36986c693b811b7ee3b7a0319ec3950d485a.zip
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>
Diffstat (limited to 'arch/s390/include/asm/eadm.h')
-rw-r--r--arch/s390/include/asm/eadm.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/s390/include/asm/eadm.h b/arch/s390/include/asm/eadm.h
index dc9200ca32ed..67026300c88e 100644
--- a/arch/s390/include/asm/eadm.h
+++ b/arch/s390/include/asm/eadm.h
@@ -111,18 +111,7 @@ struct scm_driver {
int scm_driver_register(struct scm_driver *scmdrv);
void scm_driver_unregister(struct scm_driver *scmdrv);
-int scm_start_aob(struct aob *aob);
+int eadm_start_aob(struct aob *aob);
void scm_irq_handler(struct aob *aob, int error);
-struct eadm_ops {
- int (*eadm_start) (struct aob *aob);
- struct module *owner;
-};
-
-int scm_get_ref(void);
-void scm_put_ref(void);
-
-void register_eadm_ops(struct eadm_ops *ops);
-void unregister_eadm_ops(struct eadm_ops *ops);
-
#endif /* _ASM_S390_EADM_H */