diff options
Diffstat (limited to 'drivers/s390/cio/chsc.h')
-rw-r--r-- | drivers/s390/cio/chsc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/s390/cio/chsc.h b/drivers/s390/cio/chsc.h index 69450134bec7..170083ca4349 100644 --- a/drivers/s390/cio/chsc.h +++ b/drivers/s390/cio/chsc.h | |||
@@ -1,8 +1,6 @@ | |||
1 | #ifndef S390_CHSC_H | 1 | #ifndef S390_CHSC_H |
2 | #define S390_CHSC_H | 2 | #define S390_CHSC_H |
3 | 3 | ||
4 | #define NR_CHPIDS 256 | ||
5 | |||
6 | #define CHSC_SEI_ACC_CHPID 1 | 4 | #define CHSC_SEI_ACC_CHPID 1 |
7 | #define CHSC_SEI_ACC_LINKADDR 2 | 5 | #define CHSC_SEI_ACC_LINKADDR 2 |
8 | #define CHSC_SEI_ACC_FULLLINKADDR 3 | 6 | #define CHSC_SEI_ACC_FULLLINKADDR 3 |
@@ -65,4 +63,7 @@ extern int chsc_determine_css_characteristics(void); | |||
65 | extern int css_characteristics_avail; | 63 | extern int css_characteristics_avail; |
66 | 64 | ||
67 | extern void *chsc_get_chp_desc(struct subchannel*, int); | 65 | extern void *chsc_get_chp_desc(struct subchannel*, int); |
66 | |||
67 | #define to_channelpath(dev) container_of(dev, struct channel_path, dev) | ||
68 | |||
68 | #endif | 69 | #endif |