xref: /minix/minix/kernel/arch/earm/do_padconf.c (revision 83133719)
1 #include "kernel/system.h"
2 #include <minix/endpoint.h>
3 
4 #if USE_PADCONF
5 
6 /* get arch specific arch_padconf_set() */
7 #include "bsp_padconf.h"
8 
9 /*===========================================================================*
10  *                                do_padconf                                 *
11  *===========================================================================*/
12 int do_padconf(struct proc *caller_ptr, message *m_ptr)
13 {
14 	return bsp_padconf_set(m_ptr->PADCONF_PADCONF, m_ptr->PADCONF_MASK,
15 	    m_ptr->PADCONF_VALUE);
16 }
17 
18 #endif /* USE_PADCONF */
19