static __init int atm_mpoa_init(void) { register_atm_ioctl(&atm_ioctl_ops); if (mpc_proc_init() != 0) pr_info("failed to initialize /proc/mpoa\n"); pr_info("mpc.c: " __DATE__ " " __TIME__ " initialized\n"); return 0; }
static __init int atm_mpoa_init(void) { register_atm_ioctl(&atm_ioctl_ops); #ifdef CONFIG_PROC_FS if (mpc_proc_init() != 0) printk(KERN_INFO "mpoa: failed to initialize /proc/mpoa\n"); else printk(KERN_INFO "mpoa: /proc/mpoa initialized\n"); #endif printk("mpc.c: " __DATE__ " " __TIME__ " initialized\n"); return 0; }
void atm_mpoa_init_ops(struct atm_mpoa_ops *ops) { ops->mpoad_attach = atm_mpoa_mpoad_attach; ops->vcc_attach = atm_mpoa_vcc_attach; #ifdef CONFIG_PROC_FS if(mpc_proc_init() != 0) printk(KERN_INFO "mpoa: failed to initialize /proc/mpoa\n"); else printk(KERN_INFO "mpoa: /proc/mpoa initialized\n"); #endif printk("mpc.c: " __DATE__ " " __TIME__ " initialized\n"); return; }