Ignore:
Timestamp:
Jul 20, 2017, 12:46:10 PM (5 years ago)
Author:
max@…
Message:

Hide soclib_tty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/core/hal_drivers.c

    r238 r245  
    1616 *
    1717 * You should have received a copy of the GNU General Public License
    18  * along with ALMOS-MKH.; if not, write to the Free Software Foundation,
     18 * along with ALMOS-MKH; if not, write to the Free Software Foundation,
    1919 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    2020 */
     
    3535
    3636//////////////////////////////////////////
    37 void hal_drivers_txt_init( chdev_t * txt )
     37void hal_drivers_txt_init( chdev_t  * txt,
     38                           uint32_t   impl )
    3839{
    39         soclib_tty_init( txt );
     40        if( impl == IMPL_TXT_TTY )
     41        {
     42                soclib_tty_init( txt );
     43        }
     44        else
     45        {
     46                assert( false , __FUNCTION__ , "undefined TXT device implementation" );
     47        }
    4048}
    4149
Note: See TracChangeset for help on using the changeset viewer.