summaryrefslogtreecommitdiff
path: root/include/dt-bindings/power/mt2701-power.h
blob: 64cc826d642c20c4600e4a87c5c4dcbebf199813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (C) 2015 MediaTek Inc.
 *
 * This program 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.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 */

#ifndef _DT_BINDINGS_POWER_MT2701_POWER_H
#define _DT_BINDINGS_POWER_MT2701_POWER_H

#define MT2701_POWER_DOMAIN_CONN	0
#define MT2701_POWER_DOMAIN_DISP	1
#define MT2701_POWER_DOMAIN_MFG		2
#define MT2701_POWER_DOMAIN_VDEC	3
#define MT2701_POWER_DOMAIN_ISP		4
#define MT2701_POWER_DOMAIN_BDP		5
#define MT2701_POWER_DOMAIN_ETH		6
#define MT2701_POWER_DOMAIN_HIF		7
#define MT2701_POWER_DOMAIN_IFR_MSC	8

#endif /* _DT_BINDINGS_POWER_MT2701_POWER_H */
parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
In swab.h the "#if BITS_PER_LONG > 32" breaks compiling userspace programs if BITS_PER_LONG is #defined by userspace with the sizeof() compiler builtin. Solve this problem by using __BITS_PER_LONG instead. Since we now #include asm/bitsperlong.h avoid further potential userspace pollution by moving the #define of SHIFT_PER_LONG to bitops.h which is not exported to userspace. This patch unbreaks compiling qemu on hppa/parisc. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'net/lapb/Kconfig')