/* * linux/sound/wm1250-ev1.h - Platform data for WM1250-EV1 * * Copyright 2011 Wolfson Microelectronics. PLC. * * 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 __LINUX_SND_WM1250_EV1_H #define __LINUX_SND_WM1250_EV1_H #define WM1250_EV1_NUM_GPIOS 5 #define WM1250_EV1_GPIO_CLK_ENA 0 #define WM1250_EV1_GPIO_CLK_SEL0 1 #define WM1250_EV1_GPIO_CLK_SEL1 2 #define WM1250_EV1_GPIO_OSR 3 #define WM1250_EV1_GPIO_MASTER 4 struct wm1250_ev1_pdata { int gpios[WM1250_EV1_NUM_GPIOS]; }; #endif rowspan='2'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-11-11 12:39:33 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-02-02 22:37:09 -0800
commit7aaf9536c45021772a5bc6cd4b620a11eac750f7 (patch)
tree0a3835088413b73c6827dc6a615a8ea4b28e2367
parentf94484b7584765eebded5d7bfdeb0b2c7b1caf51 (diff)
i40e: fold the i40e_is_vsi_in_vlan check into i40e_put_mac_in_vlan
Fold the check for determining when to call i40e_put_mac_in_vlan directly into the function so that we don't need to decide which function to use ahead of time. This allows us to just call i40e_put_mac_in_vlan directly without having to check ahead of time. Change-ID: Ifff526940748ac14b8418be5df5a149502eed137 Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat