diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2006-03-30 07:49:40 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-04-01 06:36:57 -0500 |
commit | 706c8c93ba4865a19e981b9770151a7a63c15794 (patch) | |
tree | 63cbae3a74bfe40adcb1efa9ea5a6e7f6898b8ca /arch/powerpc/platforms/pseries/hvcserver.c | |
parent | 8df83028cf52e3bf68dfd35a4b1a044b326a4a99 (diff) |
[PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS
Also cleans up some nearby whitespace problems.
Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/hvcserver.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/hvcserver.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/powerpc/platforms/pseries/hvcserver.c b/arch/powerpc/platforms/pseries/hvcserver.c index 22bfb5c89db9..fcf4b4cbeaf3 100644 --- a/arch/powerpc/platforms/pseries/hvcserver.c +++ b/arch/powerpc/platforms/pseries/hvcserver.c | |||
@@ -43,21 +43,21 @@ MODULE_VERSION(HVCS_ARCH_VERSION); | |||
43 | static int hvcs_convert(long to_convert) | 43 | static int hvcs_convert(long to_convert) |
44 | { | 44 | { |
45 | switch (to_convert) { | 45 | switch (to_convert) { |
46 | case H_Success: | 46 | case H_SUCCESS: |
47 | return 0; | 47 | return 0; |
48 | case H_Parameter: | 48 | case H_PARAMETER: |
49 | return -EINVAL; | 49 | return -EINVAL; |
50 | case H_Hardware: | 50 | case H_HARDWARE: |
51 | return -EIO; | 51 | return -EIO; |
52 | case H_Busy: | 52 | case H_BUSY: |
53 | case H_LongBusyOrder1msec: | 53 | case H_LONG_BUSY_ORDER_1_MSEC: |
54 | case H_LongBusyOrder10msec: | 54 | case H_LONG_BUSY_ORDER_10_MSEC: |
55 | case H_LongBusyOrder100msec: | 55 | case H_LONG_BUSY_ORDER_100_MSEC: |
56 | case H_LongBusyOrder1sec: | 56 | case H_LONG_BUSY_ORDER_1_SEC: |
57 | case H_LongBusyOrder10sec: | 57 | case H_LONG_BUSY_ORDER_10_SEC: |
58 | case H_LongBusyOrder100sec: | 58 | case H_LONG_BUSY_ORDER_100_SEC: |
59 | return -EBUSY; | 59 | return -EBUSY; |
60 | case H_Function: /* fall through */ | 60 | case H_FUNCTION: /* fall through */ |
61 | default: | 61 | default: |
62 | return -EPERM; | 62 | return -EPERM; |
63 | } | 63 | } |