|
@@ -176,7 +176,7 @@ static inline void __add_pwm(struct pwm_device *pwm)
|
|
|
|
|
|
static int __devinit pwm_probe(struct platform_device *pdev)
|
|
static int __devinit pwm_probe(struct platform_device *pdev)
|
|
{
|
|
{
|
|
- struct platform_device_id *id = platform_get_device_id(pdev);
|
|
|
|
|
|
+ const struct platform_device_id *id = platform_get_device_id(pdev);
|
|
struct pwm_device *pwm, *secondary = NULL;
|
|
struct pwm_device *pwm, *secondary = NULL;
|
|
struct resource *r;
|
|
struct resource *r;
|
|
int ret = 0;
|
|
int ret = 0;
|