diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2007-06-16 07:18:14 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-28 19:16:33 +1000 |
commit | 848cfdc5c1cd2163ba0c9a6490d9adcb7a7c3518 (patch) | |
tree | 0642486d9dddf7eecd94a7ed6de10275156a4d7f /arch/powerpc/platforms/ps3/time.c | |
parent | 7961f20c09af4524266a808fed3695c4dcc98e59 (diff) |
[POWERPC] PS3: Use __maybe_unused
Change the PS3 debug routines from using the GCC specific
'__attribute__ ((unused))' to the preprocessor macro
__maybe_unused.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/ps3/time.c')
-rw-r--r-- | arch/powerpc/platforms/ps3/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/ps3/time.c b/arch/powerpc/platforms/ps3/time.c index 1bae8b19b36..802a9ccacb5 100644 --- a/arch/powerpc/platforms/ps3/time.c +++ b/arch/powerpc/platforms/ps3/time.c @@ -39,7 +39,7 @@ static void _dump_tm(const struct rtc_time *tm, const char* func, int line) } #define dump_time(_a) _dump_time(_a, __func__, __LINE__) -static void __attribute__ ((unused)) _dump_time(int time, const char* func, +static void __maybe_unused _dump_time(int time, const char *func, int line) { struct rtc_time tm; |