summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/maxim,max77620.h
blob: 82aba2849681768c9ca7eb9e6e0f3c61443388a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (C) 2016 NVIDIA CORPORATION. All rights reserved.
 *
 * 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.
 *
 * Device Tree binding constants clocks for the Maxim 77620 PMIC.
 */

#ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77620_CLOCK_H
#define _DT_BINDINGS_CLOCK_MAXIM_MAX77620_CLOCK_H

/* Fixed rate clocks. */

#define MAX77620_CLK_32K_OUT0		0

/* Total number of clocks. */
#define MAX77620_CLKS_NUM		(MAX77620_CLK_32K_OUT0 + 1)

#endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77620_CLOCK_H */
=c73e44269369e936165f0f9b61f1f09a11dae01c'>patch) treee2188e900ba06302f8ed2746cb07edd3efbc5c35 /sound/firewire/bebob/bebob_pcm.c 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 'sound/firewire/bebob/bebob_pcm.c')