X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Ftelephony%2Fphonedev.c;h=4d8c2a5b3297fdb2447f764ac8f5974277d936fd;hb=58a3bb59973e33a428d72fa530a3d1d81feb0e8f;hp=bc5b1d245df93fdf510df711a1c4f17111c7ef61;hpb=8ab5e4c15b53e147c08031a959d9f776823dbe73;p=linux-2.6 diff --git a/drivers/telephony/phonedev.c b/drivers/telephony/phonedev.c index bc5b1d245d..4d8c2a5b32 100644 --- a/drivers/telephony/phonedev.c +++ b/drivers/telephony/phonedev.c @@ -28,7 +28,6 @@ #include #include -#include #include #define PHONE_NUM_DEVICES 256 @@ -128,7 +127,7 @@ void phone_unregister_device(struct phone_device *pfd) } -static struct file_operations phone_fops = +static const struct file_operations phone_fops = { .owner = THIS_MODULE, .open = phone_open,