mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
8cc20dd89c
Message-Id: <1322820073-19347-4-git-send-email-xi.wang@gmail.com> The error handling with (ret < 0) didn't work where ret is a u32. Use int instead. To be consistent we also change the functions to return an int. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
/*
|
|
* FM Driver for Connectivity chip of Texas Instruments.
|
|
* FM TX module header.
|
|
*
|
|
* Copyright (C) 2011 Texas Instruments
|
|
*
|
|
* 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.
|
|
*
|
|
* 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 _FMDRV_TX_H
|
|
#define _FMDRV_TX_H
|
|
|
|
int fm_tx_set_freq(struct fmdev *, u32);
|
|
int fm_tx_set_pwr_lvl(struct fmdev *, u8);
|
|
int fm_tx_set_region(struct fmdev *, u8);
|
|
int fm_tx_set_mute_mode(struct fmdev *, u8);
|
|
int fm_tx_set_stereo_mono(struct fmdev *, u16);
|
|
int fm_tx_set_rds_mode(struct fmdev *, u8);
|
|
int fm_tx_set_radio_text(struct fmdev *, u8 *, u8);
|
|
int fm_tx_set_af(struct fmdev *, u32);
|
|
int fm_tx_set_preemph_filter(struct fmdev *, u32);
|
|
int fm_tx_get_tune_cap_val(struct fmdev *);
|
|
|
|
#endif
|
|
|