summaryrefslogtreecommitdiff
path: root/include/dt-bindings/phy/phy-pistachio-usb.h
blob: d1877aa0a3f5c18dd029db5566b24f7159ee7c24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (C) 2015 Google, Inc.
 *
 * 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.
 */

#ifndef _DT_BINDINGS_PHY_PISTACHIO
#define _DT_BINDINGS_PHY_PISTACHIO

#define REFCLK_XO_CRYSTAL	0x0
#define REFCLK_X0_EXT_CLK	0x1
#define REFCLK_CLK_CORE		0x2

#endif /* _DT_BINDINGS_PHY_PISTACHIO */
42dd7ecc398bfa1aeec889934 (patch) treec7ad49d05da0535170c8e7710cd44ae1cecc271f /tools/include/asm parent2d4b21e0a2913612274a69a3ba1bfee4cffc6e77 (diff)
RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled
If IPV6 has not been enabled in the underlying kernel, we must avoid calling IPV6 procedures in rdma_cm.ko. This requires using "IS_ENABLED(CONFIG_IPV6)" in "if" statements surrounding any code which calls external IPV6 procedures. In the instance fixed here, procedure cma_bind_addr() called ipv6_addr_type() -- which resulted in calling external procedure __ipv6_addr_type(). Fixes: 6c26a77124ff ("RDMA/cma: fix IPv6 address resolution") Cc: <stable@vger.kernel.org> # v4.2+ Cc: Spencer Baugh <sbaugh@catern.com> Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Reviewed-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/include/asm')