From
https://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html
2.4.2.3 Initializing Structure Members
Another way to initialize the members is to specify the name of the
member to initialize. This way, you can initialize the members in any
order you like, and even leave some of them uninitialized. There are
two methods that you can use. The first method is available in C99 and
as a C89 extension in GCC:
struct point first_point = { .y = 10, .x = 5 };
You can also omit the
period and use a colon instead of ‘=’, though this is a GNU C
extension:
struct point first_point = { y: 10, x: 5 };
So this is equivalent to
struct file_operations fops = {
.read = device_read,
.write = device_write,
.open = device_open,
.release = device_release
};