From 23334c52818e113da1174eeb747f2cb3fc6b1055 Mon Sep 17 00:00:00 2001 From: blogic Date: Sun, 23 Sep 2007 00:32:31 +0000 Subject: added option to atheros kernel to be able to disable reset button from inside the fon mp3 driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8969 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/fonera-mp3-drv/src/mp3_drv.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/fonera-mp3-drv') diff --git a/package/fonera-mp3-drv/src/mp3_drv.c b/package/fonera-mp3-drv/src/mp3_drv.c index a2d8c79ae6..82863ac411 100644 --- a/package/fonera-mp3-drv/src/mp3_drv.c +++ b/package/fonera-mp3-drv/src/mp3_drv.c @@ -31,6 +31,7 @@ #include #include #include +#include // do we want debuging info ? #if 0 @@ -282,6 +283,10 @@ static int __init mod_init(void){ printk("mp3_drv.ko : Made by John '2B|!2B' Crispin (john@phrozen.org)\n"); printk("mp3_drv.ko : Starting ...\n"); + printk("disabling atheros reset button irq\n"); + + ar531x_disable_reset_button(); + if(register_chrdev(DEV_MAJOR, DEV_NAME, &modulemp3_fops)) { printk( "mp3_drv.ko : Error whilst opening %s (%d)\n", DEV_NAME, DEV_MAJOR); return( -ENODEV ); -- cgit v1.2.3