Remove obsolete rtems_clock_major/minor

These global variables are obsolete since
65f71f8472.
This commit is contained in:
Sebastian Huber
2015-05-14 11:17:00 +02:00
parent 47c9c083ed
commit a0001d64fe
2 changed files with 0 additions and 31 deletions

View File

@@ -52,13 +52,6 @@ unsigned int Clock_basefreq;
void Clock_exit(void); void Clock_exit(void);
void Clock_isr(void *arg_unused); void Clock_isr(void *arg_unused);
/*
* Major and minor number.
*/
rtems_device_major_number rtems_clock_major = UINT32_MAX;
rtems_device_minor_number rtems_clock_minor;
/* /*
* Clock_isr * Clock_isr
* *
@@ -258,13 +251,6 @@ rtems_device_driver Clock_initialize(
*/ */
atexit( Clock_exit ); atexit( Clock_exit );
/*
* make major/minor avail to others such as shared memory driver
*/
rtems_clock_major = major;
rtems_clock_minor = minor;
/* /*
* If we are counting ISRs per tick, then initialize the counter. * If we are counting ISRs per tick, then initialize the counter.
*/ */

View File

@@ -19,23 +19,6 @@ The clock driver is located in the @code{clock} directory of the BSP.
This section describes the global variables expected to be provided by This section describes the global variables expected to be provided by
this driver. this driver.
@subsection Major and Minor Number
The major and minor numbers of the clock driver are made available via
the following variables.
@itemize @bullet
@item rtems_device_major_number rtems_clock_major;
@item rtems_device_minor_number rtems_clock_minor;
@end itemize
The clock device driver is responsible for declaring and
initializing these variables. These variables are used
by other RTEMS components -- notably the Shared Memory Driver.
@b{NOTE:} In a future RTEMS version, these variables may be replaced
with the clock device driver registering @b{/dev/clock}.
@subsection Ticks Counter @subsection Ticks Counter
Most of the clock device drivers provide a global variable Most of the clock device drivers provide a global variable