Changeset 0c0f823b in mainline for uspace/drv/char/ns8250/ns8250.c
- Timestamp:
- 2011-11-14T20:50:08Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 765678f, d5ba17f
- Parents:
- 612ad864
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/ns8250/ns8250.c
r612ad864 r0c0f823b 223 223 }; 224 224 225 static int ns8250_ add_device(ddf_dev_t *dev);225 static int ns8250_dev_add(ddf_dev_t *dev); 226 226 static int ns8250_dev_remove(ddf_dev_t *dev); 227 227 228 228 /** The serial port device driver's standard operations. */ 229 229 static driver_ops_t ns8250_ops = { 230 . add_device = &ns8250_add_device,230 .dev_add = &ns8250_dev_add, 231 231 .dev_remove = &ns8250_dev_remove 232 232 }; … … 717 717 } 718 718 719 /** The add_devicecallback method of the serial port driver.719 /** The dev_add callback method of the serial port driver. 720 720 * 721 721 * Probe and initialize the newly added device. … … 723 723 * @param dev The serial port device. 724 724 */ 725 static int ns8250_ add_device(ddf_dev_t *dev)725 static int ns8250_dev_add(ddf_dev_t *dev) 726 726 { 727 727 ns8250_t *ns = NULL; … … 730 730 int rc; 731 731 732 ddf_msg(LVL_DEBUG, "ns8250_ add_device%s (handle = %d)",732 ddf_msg(LVL_DEBUG, "ns8250_dev_add %s (handle = %d)", 733 733 dev->name, (int) dev->handle); 734 734
Note:
See TracChangeset
for help on using the changeset viewer.