12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- struct clocktime {
- int year;
- int mon;
- int day;
- int hour;
- int min;
- int sec;
- int dow;
- };
- struct clockfns {
- void (*cf_init)(struct device *);
- void (*cf_get)(struct device *, time_t, struct clocktime *);
- void (*cf_set)(struct device *, struct clocktime *);
- };
- void clockattach(struct device *, const struct clockfns *);
|