Merge commit 'v2.6.26' into bkl-removal
This commit is contained in:
@@ -808,7 +808,6 @@ static int DIVA_INIT_FUNCTION divas_init(void)
|
||||
|
||||
if (!create_divas_proc()) {
|
||||
#ifdef MODULE
|
||||
remove_divas_proc();
|
||||
divas_unregister_chrdev();
|
||||
divasfunc_exit();
|
||||
#endif
|
||||
|
@@ -125,8 +125,8 @@ static const struct file_operations divas_fops = {
|
||||
|
||||
int create_divas_proc(void)
|
||||
{
|
||||
proc_create(divas_proc_name, S_IFREG | S_IRUGO, proc_net_eicon,
|
||||
&divas_fops);
|
||||
divas_proc_entry = proc_create(divas_proc_name, S_IFREG | S_IRUGO,
|
||||
proc_net_eicon, &divas_fops);
|
||||
if (!divas_proc_entry)
|
||||
return (0);
|
||||
|
||||
|
مرجع در شماره جدید
Block a user