mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
60063497a9
This allows us to move duplicated code in <asm/atomic.h> (atomic_inc_not_zero() for now) to <linux/atomic.h> Signed-off-by: Arun Sharma <asharma@fb.com> Reviewed-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: David Miller <davem@davemloft.net> Cc: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
24 lines
623 B
C
24 lines
623 B
C
/*
|
|
* Copyright 2000 Deep Blue Solutions Ltd
|
|
* Copyright 2004 ARM Limited
|
|
* Copyright 2008 Cavium Networks
|
|
*
|
|
* This file is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License, Version 2, as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __CNS3XXX_PM_H
|
|
#define __CNS3XXX_PM_H
|
|
|
|
#include <linux/atomic.h>
|
|
|
|
void cns3xxx_pwr_clk_en(unsigned int block);
|
|
void cns3xxx_pwr_clk_dis(unsigned int block);
|
|
void cns3xxx_pwr_power_up(unsigned int block);
|
|
void cns3xxx_pwr_power_down(unsigned int block);
|
|
|
|
extern atomic_t usb_pwr_ref;
|
|
|
|
#endif /* __CNS3XXX_PM_H */
|