fix a kmap leak in virtio_console
[linux/fpc-iii.git] / arch / arm / mach-cns3xxx / pm.h
blobc2588cc991d1282ef3095884162de9b0d6035986
1 /*
2 * Copyright 2000 Deep Blue Solutions Ltd
3 * Copyright 2004 ARM Limited
4 * Copyright 2008 Cavium Networks
6 * This file is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License, Version 2, as
8 * published by the Free Software Foundation.
9 */
11 #ifndef __CNS3XXX_PM_H
12 #define __CNS3XXX_PM_H
14 #include <linux/atomic.h>
16 void cns3xxx_pwr_clk_en(unsigned int block);
17 void cns3xxx_pwr_clk_dis(unsigned int block);
18 void cns3xxx_pwr_power_up(unsigned int block);
19 void cns3xxx_pwr_power_down(unsigned int block);
21 extern atomic_t usb_pwr_ref;
23 #endif /* __CNS3XXX_PM_H */