printk(KERN_ERR"calling weak function %s\n", __FUNCTION__);
}
-void mt_reserve(void)
+void __init mt_reserve(void)
{
// aee_dram_console_reserve_memory();
mrdump_reserve_memory();
return mt_gpt_read(NULL);
}
-static void mt_gpt_init(void);
-struct mt_clock mt6582_gpt =
+static void __init mt_gpt_init(void);
+struct mt_clock __refdata mt6582_gpt =
{
.clockevent =
{
#endif
-void eemcs_memory_reserve(void){
+void __init eemcs_memory_reserve(void){
unsigned int md5_en;
if( (ext_md_usage_case&MD5_EN)== MD5_EN) { //Only MD1 enabled
#ifdef CONFIG_SMP
-static void hp_work_handler(struct work_struct *work)
+static void __cpuinit hp_work_handler(struct work_struct *work)
{
if (mutex_trylock(&bl_onoff_mutex))
{
mutex_unlock(&hp_mutex);
}
-static void hp_work_handler(struct work_struct *work)
+static void __cpuinit hp_work_handler(struct work_struct *work)
{
struct dbs_data *dbs_data = per_cpu(hp_cpu_dbs_info, 0).cdbs.cur_policy->governor_data; /* TODO: FIXME, cpu = 0 */
struct hp_dbs_tuners *hp_tuners;
return ret;
}
-static struct platform_driver i2c_common_driver= {
+static struct platform_driver __refdata i2c_common_driver= {
.driver = {
.name = "mt-i2cd",
.owner = THIS_MODULE,
}
-static struct platform_driver mt65xx_leds_driver = {
+static struct platform_driver __refdata mt65xx_leds_driver = {
.driver = {
.name = "leds-mt65xx",
.owner = THIS_MODULE,