@@ -40,7 +40,7 @@ static unsigned int pdc_chassis_enabled __read_mostly = 1;
40
40
41
41
/**
42
42
* pdc_chassis_setup() - Enable/disable pdc_chassis code at boot time.
43
- * @str configuration param: 0 to disable chassis log
43
+ * @str: configuration param: 0 to disable chassis log
44
44
* @return 1
45
45
*/
46
46
@@ -55,7 +55,6 @@ __setup("pdcchassis=", pdc_chassis_setup);
55
55
56
56
/**
57
57
* pdc_chassis_checkold() - Checks for old PDC_CHASSIS compatibility
58
- * @pdc_chassis_old: 1 if old pdc chassis style
59
58
*
60
59
* Currently, only E class and A180 are known to work with this.
61
60
* Inspired by Christoph Plattner
@@ -80,6 +79,9 @@ static void __init pdc_chassis_checkold(void)
80
79
81
80
/**
82
81
* pdc_chassis_panic_event() - Called by the panic handler.
82
+ * @this: unused
83
+ * @event: unused
84
+ * @ptr: unused
83
85
*
84
86
* As soon as a panic occurs, we should inform the PDC.
85
87
*/
@@ -88,7 +90,7 @@ static int pdc_chassis_panic_event(struct notifier_block *this,
88
90
unsigned long event , void * ptr )
89
91
{
90
92
pdc_chassis_send_status (PDC_CHASSIS_DIRECT_PANIC );
91
- return NOTIFY_DONE ;
93
+ return NOTIFY_DONE ;
92
94
}
93
95
94
96
@@ -99,7 +101,10 @@ static struct notifier_block pdc_chassis_panic_block = {
99
101
100
102
101
103
/**
102
- * parisc_reboot_event() - Called by the reboot handler.
104
+ * pdc_chassis_reboot_event() - Called by the reboot handler.
105
+ * @this: unused
106
+ * @event: unused
107
+ * @ptr: unused
103
108
*
104
109
* As soon as a reboot occurs, we should inform the PDC.
105
110
*/
@@ -108,7 +113,7 @@ static int pdc_chassis_reboot_event(struct notifier_block *this,
108
113
unsigned long event , void * ptr )
109
114
{
110
115
pdc_chassis_send_status (PDC_CHASSIS_DIRECT_SHUTDOWN );
111
- return NOTIFY_DONE ;
116
+ return NOTIFY_DONE ;
112
117
}
113
118
114
119
@@ -148,7 +153,7 @@ void __init parisc_pdc_chassis_init(void)
148
153
/**
149
154
* pdc_chassis_send_status() - Sends a predefined message to the chassis,
150
155
* and changes the front panel LEDs according to the new system state
151
- * @retval: PDC call return value .
156
+ * @message: Type of message, one of PDC_CHASSIS_DIRECT_* values .
152
157
*
153
158
* Only machines with 64 bits PDC PAT and those reported in
154
159
* pdc_chassis_checkold() are supported atm.
0 commit comments