]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ARM: 5798/1: SA1100: h3600: remove unused cruft from h3600.h
authorDmitry Artamonow <mad_soft@inbox.ru>
Fri, 27 Nov 2009 10:10:59 +0000 (11:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 6 Dec 2009 16:52:25 +0000 (16:52 +0000)
PM_SUSPEND, PM_RESUME and machine_is_h3xxx() are not used anywhere in
kernel (checked with git grep), so it's safe to remove them.

Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/include/mach/h3600.h

index 2827faa47421d3fee5cc68a9593952f6b9c2fcef..69f138c5540772a8efe352779f9a17ab802b521d 100644 (file)
 #ifndef _INCLUDE_H3600_H_
 #define _INCLUDE_H3600_H_
 
-typedef int __bitwise pm_request_t;
-
-#define PM_SUSPEND     ((__force pm_request_t) 1)      /* enter D1-D3 */
-#define PM_RESUME      ((__force pm_request_t) 2)      /* enter D0 */
-
-/* generalized support for H3xxx series Compaq Pocket PC's */
-#define machine_is_h3xxx() (machine_is_h3100() || machine_is_h3600())
-
 /* Physical memory regions corresponding to chip selects */
 #define H3600_EGPIO_PHYS       (SA1100_CS5_PHYS + 0x01000000)
 #define H3600_BANK_2_PHYS      SA1100_CS2_PHYS