2010-07-13 10:37:47

by Robert P. J. Day

[permalink] [raw]
Subject: why is "struct cdev *cdev" in char_device_struct listed as "will die"?


just perusing fs/char_dev.c and noticed this:

static struct char_device_struct {
struct char_device_struct *next;
unsigned int major;
unsigned int baseminor;
int minorct;
char name[64];
struct cdev *cdev; /* will die */
} *chrdevs[CHRDEV_MAJOR_HASH_SIZE];

so ... why "will die"? deprecated? obsolete?

rday

--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Top-notch, inexpensive online Linux/OSS/kernel courses
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================