blob: a295a17fe418be43e5f9418c2c555b2015d0b476 [file] [log] [blame]
Hanumant Singh55a1bb02012-11-06 10:01:15 -08001/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 */
13
14#include <linux/init.h>
15#include <linux/ioport.h>
16#include <mach/board.h>
17#include <mach/gpio.h>
18#include <mach/gpiomux.h>
19
20void __init msm8910_init_gpiomux(void)
21{
22 int rc;
23
Rohit Vaswani341c2032012-11-08 18:49:29 -080024 rc = msm_gpiomux_init_dt();
Hanumant Singh55a1bb02012-11-06 10:01:15 -080025 if (rc) {
Rohit Vaswani341c2032012-11-08 18:49:29 -080026 pr_err("%s failed %d\n", __func__, rc);
Hanumant Singh55a1bb02012-11-06 10:01:15 -080027 return;
28 }
29}