/* * ALSA Driver for the PT2258 volume controller. * * Copyright (c) 2006 Jochen Voss * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that 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, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #ifndef __SOUND_PT2258_H #define __SOUND_PT2258_H struct snd_pt2258 { struct snd_card *card; struct snd_i2c_bus *i2c_bus; struct snd_i2c_device *i2c_dev; unsigned char volume[6]; int mute; }; extern int snd_pt2258_reset(struct snd_pt2258 *pt); extern int snd_pt2258_build_controls(struct snd_pt2258 *pt); #endif /* __SOUND_PT2258_H */ et-loop-back'>packet-loop-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2017-01-29 15:13:48 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-30 22:05:43 -0500
commit2b2d3eb41c920b47df2fcedd1489cf748bd09466 (patch)
tree431604a568cd2303973470de326bd9731370a025
parent00300b2aac27556e2829cfd047b787af0f13b081 (diff)
sh_eth: stop using bare numbers for EESIPR values
Now that we have almost all EESIPR bits declared (and those that are still not are most probably reserved anyway) we can at last replace the bare numbers used for 'sh_eth_cpu_data::eesipr_value' initializers with the bit names ORed together... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/renesas/sh_eth.c91
1 files changed, 80 insertions, 11 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c