#ifndef _HALL_H #define _HALL_H struct hall_platform_data { unsigned int rep:1; /* enable input subsystem auto repeat */ int gpio_flip_cover; int gpio_certify_cover; int irq_flip_cover; int irq_certify_cover; #if defined(EMULATE_HALL_IC) int gpio_flip_cover_key1; int gpio_flip_cover_key2; #endif }; extern struct device *sec_key; #if defined(CONFIG_FOLDER_HALL) void hall_ic_register_notify(struct notifier_block *nb); void hall_ic_unregister_notify(struct notifier_block *nb); void hall_ic_request_notify(struct notifier_block *nb); #endif #endif /* _HALL_H */