initramfs: fix initramfs size calculation
[linux-drm-fsl-dcu.git] / net / nonet.c
index e5241dceaa571d897dfdf2db6c938e6f334af10b..92e76640c7cd65146dd6aed382698174f7a0f2a2 100644 (file)
 #include <linux/init.h>
 #include <linux/kernel.h>
 
-void __init sock_init(void)
-{
-       printk(KERN_INFO "Linux NoNET1.0 for Linux 2.6\n");
-}
-
 static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
 {
        return -ENXIO;
 }
 
-struct file_operations bad_sock_fops = {
+const struct file_operations bad_sock_fops = {
        .owner = THIS_MODULE,
        .open = sock_no_open,
 };