core.c (aecdc33e111b2c447b622e287c6003726daa1426) | core.c (916082b073ebb7f4e064cebce0768e34cacde508) |
---|---|
1/* 2 * Copyright (C) 2011 Instituto Nokia de Tecnologia 3 * 4 * Authors: 5 * Lauro Ramos Venancio <lauro.venancio@openbossa.org> 6 * Aloisio Almeida Jr <aloisio.almeida@openbossa.org> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 701 unchanged lines hidden (view full) --- 710 711 device_unlock(&dev->dev); 712} 713 714static void nfc_check_pres_timeout(unsigned long data) 715{ 716 struct nfc_dev *dev = (struct nfc_dev *)data; 717 | 1/* 2 * Copyright (C) 2011 Instituto Nokia de Tecnologia 3 * 4 * Authors: 5 * Lauro Ramos Venancio <lauro.venancio@openbossa.org> 6 * Aloisio Almeida Jr <aloisio.almeida@openbossa.org> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 701 unchanged lines hidden (view full) --- 710 711 device_unlock(&dev->dev); 712} 713 714static void nfc_check_pres_timeout(unsigned long data) 715{ 716 struct nfc_dev *dev = (struct nfc_dev *)data; 717 |
718 queue_work(system_nrt_wq, &dev->check_pres_work); | 718 schedule_work(&dev->check_pres_work); |
719} 720 721struct class nfc_class = { 722 .name = "nfc", 723 .dev_release = nfc_release, 724}; 725EXPORT_SYMBOL(nfc_class); 726 --- 195 unchanged lines hidden --- | 719} 720 721struct class nfc_class = { 722 .name = "nfc", 723 .dev_release = nfc_release, 724}; 725EXPORT_SYMBOL(nfc_class); 726 --- 195 unchanged lines hidden --- |