summaryrefslogtreecommitdiff
path: root/include/soc/tegra/common.h
blob: fc13a9a134e9d63365d179b048d75ef2428399c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright (C) 2014 NVIDIA Corporation
 *
 * 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.
 */

#ifndef __SOC_TEGRA_COMMON_H__
#define __SOC_TEGRA_COMMON_H__

bool soc_is_tegra(void);

#endif /* __SOC_TEGRA_COMMON_H__ */
r> committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-01-21 01:43:42 +0200 commit63d762b88cb5510f2bfdb5112ced18cde867ae61 (patch) tree59bd1832e251b5e0edc61b1b6fb4f4d448b57554 /net/tipc/subscr.h parent49def1853334396f948dcb4cedb9347abb318df5 (diff)
platform/x86: mlx-platform: free first dev on error
There is an off-by-one error so we don't unregister priv->pdev_mux[0]. Also it's slightly simpler as a while loop instead of a for loop. Fixes: 58cbbee2391c ("x86/platform/mellanox: Introduce support for Mellanox systems platform") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'net/tipc/subscr.h')