ckfwq/linux-3.0.4/arch/mips/loongson/gsc3280/pm-gpio.c

73 lines
1.4 KiB
C

/* linux/arch/mips/loongon/gsc3280/pm-gpio.c
*
* Copyright 2013 Loongson, Inc.
* ansonn.wang <ansonn.wang@gmail.com>
*
* GSC3280 series GPIO PM code
*
* 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.
*/
#include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include <gsc3280/gpio-plat.h>
#include <gsc3280/gpio.h>
#include <gsc3280/gsc3280_regs.h>
/* gpio save hook */
void gsc3280_gpio_pm_save(struct gsc3280_gpio_chip *chip) {
return;
}
/* gpio resume hook */
void gsc3280_gpio_pm_resume(struct gsc3280_gpio_chip *chip) {
return;
}
/**
* gsc3280_pm_save_gpio() - save gpio chip data for suspend
* @ourchip: The chip for suspend.
*/
void gsc3280_pm_save_gpio(struct gsc3280_gpio_chip *ourchip) {
return;
}
/**
* gsc3280_pm_save_gpio() - save all gpio chip data for suspend
* @chip: The chip for suspend.
*/
void gsc3280_pm_save_gpios(void) {
return;
}
/**
* gsc3280_pm_resume_gpio() - restore gpio chip data after suspend
* @ourchip: The suspended chip.
*/
void gsc3280_pm_resume_gpio(struct gsc3280_gpio_chip *ourchip) {
return;
}
/**
* gsc3280_pm_resume_gpio() - restore all gpio chip data after suspend
* @ourchip: The suspended chip.
*/
void gsc3280_pm_restore_gpios(void) {
return;
}