/* * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope 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. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef _DT_BINDINGS_POWER_TEGRA186_POWERGATE_H #define _DT_BINDINGS_POWER_TEGRA186_POWERGATE_H #define TEGRA186_POWER_DOMAIN_AUD 0 #define TEGRA186_POWER_DOMAIN_DFD 1 #define TEGRA186_POWER_DOMAIN_DISP 2 #define TEGRA186_POWER_DOMAIN_DISPB 3 #define TEGRA186_POWER_DOMAIN_DISPC 4 #define TEGRA186_POWER_DOMAIN_ISPA 5 #define TEGRA186_POWER_DOMAIN_NVDEC 6 #define TEGRA186_POWER_DOMAIN_NVJPG 7 #define TEGRA186_POWER_DOMAIN_MPE 8 #define TEGRA186_POWER_DOMAIN_PCX 9 #define TEGRA186_POWER_DOMAIN_SAX 10 #define TEGRA186_POWER_DOMAIN_VE 11 #define TEGRA186_POWER_DOMAIN_VIC 12 #define TEGRA186_POWER_DOMAIN_XUSBA 13 #define TEGRA186_POWER_DOMAIN_XUSBB 14 #define TEGRA186_POWER_DOMAIN_XUSBC 15 #define TEGRA186_POWER_DOMAIN_GPU 43 #define TEGRA186_POWER_DOMAIN_MAX 44 #endif t plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/dt-bindings/gpio/meson-gxl-gpio.h
ace:
AgeCommit message (Collapse)AuthorFilesLines
mode:
authorVincent <vincent.stehle@laposte.net>2017-01-30 15:06:43 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-31 13:07:40 -0500
commitc73e44269369e936165f0f9b61f1f09a11dae01c (patch)
treee2188e900ba06302f8ed2746cb07edd3efbc5c35 /include/net/caif
parent040587af31228d82c52267f717c9fcdb65f36335 (diff)
net: thunderx: avoid dereferencing xcv when NULL
This fixes the following smatch and coccinelle warnings: drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link() error: we previously assumed 'xcv' could be null (see line 118) [smatch] drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119:16-20: ERROR: xcv is NULL but dereferenced. [coccinelle] Fixes: 6465859aba1e66a5 ("net: thunderx: Add RGMII interface type support") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/caif')