Pass driver_data from ID table to driver init function

This commit is contained in:
Daniel Drake
2007-10-25 15:00:30 +01:00
parent 2709c6dc8c
commit 0ac74ef649
3 changed files with 10 additions and 5 deletions

View File

@@ -420,7 +420,7 @@ static const unsigned char init28_0b[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00
};
static int dev_init(struct fp_dev *dev)
static int dev_init(struct fp_dev *dev, unsigned long driver_data)
{
struct upekts_dev *upekdev;
unsigned char dummy = 0x10;