diff options
Diffstat (limited to 'linux/drivers/media/video/msp3400.c')
-rw-r--r-- | linux/drivers/media/video/msp3400.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/msp3400.c b/linux/drivers/media/video/msp3400.c index 9b5d929e8..4d81952ff 100644 --- a/linux/drivers/media/video/msp3400.c +++ b/linux/drivers/media/video/msp3400.c @@ -1444,7 +1444,7 @@ static int msp_detach(struct i2c_client *client); static int msp_probe(struct i2c_adapter *adap); static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg); -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13) +#ifdef MM_KERNEL static int msp_suspend(struct device * dev, pm_message_t state, u32 level); #else static int msp_suspend(struct device * dev, u32 state, u32 level); @@ -1853,7 +1853,7 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) return 0; } -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13) +#ifdef MM_KERNEL static int msp_suspend(struct device * dev, pm_message_t state, u32 level) #else static int msp_suspend(struct device * dev, u32 state, u32 level) |