pids: alloc_pidmap: remove the unnecessary boundary checks
[linux-2.6/next.git] / include / sound / tpa6130a2-plat.h
blobe29fde6b5cbe5214edeecbdc522c98afefd8a977
1 /*
2 * TPA6130A2 driver platform header
4 * Copyright (C) Nokia Corporation
6 * Written by Peter Ujfalusi <peter.ujfalusi@nokia.com>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA
23 #ifndef TPA6130A2_PLAT_H
24 #define TPA6130A2_PLAT_H
26 enum tpa_model {
27 TPA6130A2,
28 TPA6140A2,
31 struct tpa6130a2_platform_data {
32 enum tpa_model id;
33 int power_gpio;
36 #endif