Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
#include "smscoreapi.h"
#include "smstypes.h"
+DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
+
typedef struct _smsdvb_client
{
struct list_head entry;
}
// register dvb adapter
- rc = dvb_register_adapter(&client->adapter, "Siano Digital Receiver", THIS_MODULE, device);
+ rc = dvb_register_adapter(&client->adapter, "Siano Digital Receiver", THIS_MODULE, device, adapter_nr);
if (rc < 0)
{
printk("%s dvb_register_adapter() failed %d\n", __func__, rc);